LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg uprade command seems not to be working (http://www.linuxquestions.org/questions/slackware-14/slackpkg-uprade-command-seems-not-to-be-working-795556/)

vdemuth 03-15-2010 12:51 PM

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.

koenigdavidmj 03-15-2010 03:45 PM

Have you edited /etc/slackpkg/mirrors to uncomment a mirror?

mRgOBLIN 03-15-2010 04:04 PM

Umm you can't upgrade a package that isn't installed =)

slackpkg install cups

piratesmack 03-15-2010 04:24 PM

Quote:

Originally Posted by mRgOBLIN (Post 3899467)
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.

mRgOBLIN 03-15-2010 04:30 PM

Ohh my bad.. so he did.

Wonder if you are using an old slackpkg.conf file? are there any .new files around?

piratesmack 03-15-2010 05:00 PM

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 :)

vdemuth 03-16-2010 02:54 AM

piratesmack, thanks. Removing and then installing did the trick. Is this a bug in slackpkg that needs reporting, and if so, to whom?

mRgOBLIN 03-16-2010 04:08 AM

You can send the bug reports to piterpunk. he has a slackware.com address


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