LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2009, 03:41 PM   #1
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211
Blog Entries: 1

Rep: Reputation: 31
slackpkg uopgrade-all question so I don't do the wrong thing


yesterday I installed Xfce 4.6.0 from RW's site. Love it. When I go to do upgrade, /var/xxpkg/log was messed up, so I had it remove the reference to Xfce 4.4.3 and left 4.6.0. So now when I do a slackpkg upgrade-all it gives me a ncurses dialog which says select the pkg's to upgrade, and only lists Xfce 4.4.3 and at the bottom says currently installed 4.6.0* I hit cancel. Do I need to set something somewhere? I shouldn't be ugprading old packages should I? Or are these residual packages I still have? thanks for some guidance to a newbie.

john
 
Old 04-12-2009, 04:01 PM   #2
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Try "slackpkg blacklist xfce4"
I think that should do it.
 
Old 04-12-2009, 04:03 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by thezoid View Post
So now when I do a slackpkg upgrade-all it gives me a ncurses dialog which says select the pkg's to upgrade, and only lists Xfce 4.4.3 and at the bottom says currently installed 4.6.0*
You should realize that slackpkg only works with official Slackware packages. So, even though you installed XFCE 4.6.0, the official version is 4.4.3 and that is what "slackpkg upgrade-all" will try to install.

You will have to blacklist xfce so that slackpkg will no longer consider it during upgrades.

In Slackware, upgrading from a higher to a lower version (4.6.0 -> 4.4.3) is allowed by the pkgtools.

Eric
 
Old 04-12-2009, 05:09 PM   #4
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by Alien Bob View Post
You should realize that slackpkg only works with official Slackware packages. So, even though you installed XFCE 4.6.0, the official version is 4.4.3 and that is what "slackpkg upgrade-all" will try to install.

You will have to blacklist xfce so that slackpkg will no longer consider it during upgrades.

In Slackware, upgrading from a higher to a lower version (4.6.0 -> 4.4.3) is allowed by the pkgtools.

Eric
OK...I understand...so if an Xfce upgrade comes along, I just reinstall from say, RW's site? On this laptop, I really wanted the powermanager...thanks I've blacklisted all Xfce4 pkg's.
 
Old 04-12-2009, 05:15 PM   #5
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
OK...I did the blacklisting, and rebooted....this is what slackpkg upgrade-all gives me: I'm still trying to understand all this...bear with me
Attached Thumbnails
Click image for larger version

Name:	SlackPkg.jpg
Views:	24
Size:	68.1 KB
ID:	448  

Last edited by joutlancpa; 04-12-2009 at 05:18 PM.
 
Old 04-12-2009, 05:34 PM   #6
1337
Member
 
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75

Rep: Reputation: 18
Do you have a mirror set in /etc/mirrors? You should uncomment ONLY ONE mirror.

Also, what is the contents of /etc/slackpkg/blacklist? If the blacklist was successful, you should have an entry for xfce4.

Finally, you need to run slackpkg update before running slackpkg upgrade-all.

Let me know if this helps.
 
Old 04-12-2009, 05:52 PM   #7
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
1337....Update was run prior, only ONE mirror is uncommented, and here is my /etc/slackpkg/blacklist file contents...I sense something is missing thanks:

Code:
# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
#
# The correct syntax is:
#
# To blacklist the package xfree86-devel-4.3.0-i386-1 the line will be:
# xfree86-devel
#
# DON'T put any blank line(s) or any space(s) before or after the package name.
# If you do this, the blacklist will NOT work.
#
# Automated upgrade of kernel packages aren't a good idea (and you need to
# run "lilo" after upgrade). If you think the same, uncomment the lines
# below 
#
#kernel-ide
#kernel-modules
#kernel-source
#kernel-headers

#
# aaa_elflibs can't be updated.
#
aaa_elflibs

#
# Now we can blacklist whole directories
# The two versions of udev inside that dir conflicts with
# Slackware 11.0's default udev (in /slackware).
/extra/udev-alternate-versions

xfce4-datetime-plugin
xfce4-mount-plugin
xfce4-notes-plugin
xfce4-places-plugin
xfce4-power-manager
xfce4-volstatus-icon
 
Old 04-12-2009, 06:05 PM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
I think the command should be :

Code:
slackpkg blacklist xfce
ran as root to create the blacklist.
 
Old 04-12-2009, 06:13 PM   #9
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by bgeddy View Post
I think the command should be :

Code:
slackpkg blacklist xfce
ran as root to create the blacklist.
that did it...!! thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse wheel doing the wrong thing? dave`2005 Linux - Newbie 4 02-14-2006 06:53 PM
some thing wrong with my sys? the13thday Linux - Hardware 3 09-17-2005 10:35 PM
Am I doing the wrong thing? cragwolf Slackware 4 02-26-2005 07:43 AM
slackpkg question ralvy Slackware 2 11-19-2004 04:48 PM
RPM Problem... What the hell is wrong with this thing? Darx Fedora 9 03-20-2004 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration