LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-15-2010, 12:51 PM   #1
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 768

Rep: Reputation: 92
slackpkg uprade command seems not to be working


Have been having trouble of late getting upgrades when using slackpkg, and example of the problem is here when trying to upgrade to the latest cups package, although the problem is not limited to this alone.

Code:
root@captainpugwash:/etc/slackpkg# slackpkg search cups

Looking for cups in package list. Please wait... DONE

The list below shows all packages with name matching "cups".

[uninstalled] - cups-1.4.2-x86_64-1
[uninstalled] - pycups-1.9.48-x86_64-1

You can search specific files using "slackpkg file-search file".
root@captainpugwash:/etc/slackpkg# slackpkg upgrade cups

Code:
Checking local integrity... DONE
Looking for cups in package list. Please wait... -DONE

No packages match the pattern for upgrade. Try:

        /usr/sbin/slackpkg install|reinstall
Code:
root@captainpugwash:/etc/slackpkg# slackpkg install cups

Looking for cups in package list. Please wait... DONE

No packages match the pattern for install. Try:

        /usr/sbin/slackpkg reinstall|upgrade
And extracted from /var/lib/slackpkg/pkglist

Code:
slackware64 cups 1.4.2 x86_64 1 cups-1.4.2-x86_64-1 ./slackware64/a txz
So am I doing something wrong, or is my slackpkg broken. BTW, I have re-installed it to see if that might have been the case.
 
Old 03-15-2010, 03:45 PM   #2
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
Have you edited /etc/slackpkg/mirrors to uncomment a mirror?
 
Old 03-15-2010, 04:04 PM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Umm you can't upgrade a package that isn't installed =)

slackpkg install cups
 
Old 03-15-2010, 04:24 PM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by mRgOBLIN View Post
Umm you can't upgrade a package that isn't installed =)

slackpkg install cups
Looks like he tried that, too.

I was also having this problem, but I don't remember which package I was trying to install.

Last edited by piratesmack; 03-15-2010 at 04:27 PM.
 
Old 03-15-2010, 04:30 PM   #5
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Ohh my bad.. so he did.

Wonder if you are using an old slackpkg.conf file? are there any .new files around?
 
Old 03-15-2010, 05:00 PM   #6
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Not sure if that question was for me or the original poster (or both). But no, I don't see any *.new files in /etc/slackpkg. It's very possible that I've reinstalled since I had this problem; it happened a while ago.

btw, I just tried:
Code:
removepkg cups
slackpkg install cups
And it worked
 
Old 03-16-2010, 02:54 AM   #7
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 768

Original Poster
Rep: Reputation: 92
piratesmack, thanks. Removing and then installing did the trick. Is this a bug in slackpkg that needs reporting, and if so, to whom?
 
Old 03-16-2010, 04:08 AM   #8
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
You can send the bug reports to piterpunk. he has a slackware.com address
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sudo slackpkg = command not found gabrielmagno Slackware 10 06-22-2013 05:41 AM
slackpkg update and upgrade-all still working for 12.2? mutexe Slackware 8 10-23-2009 04:05 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM
Lost desktop icons in gnome after uprade kmoffat Debian 6 01-03-2007 05:25 PM
apt-get uprade problem in debian sid zakkeyboorock Debian 5 03-20-2006 02:11 PM


All times are GMT -5. The time now is 01:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration