LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-06-2006, 04:12 AM   #1
Manx_UK
LQ Newbie
 
Registered: May 2003
Location: Staffordshire, England
Distribution: Slackware 11.0
Posts: 17

Rep: Reputation: 0
Slackpkg wants to downgrade me?


Slackpkg 2.09, on Slackware 11.0:

After setting /etc/slackpkg/mirrors to a "current" repository and running slackpkg update, whenever i generate a package file list, any upgrades it finds are all downgrades. For instance, it will report that it will "upgrade" Firefox from 1.5.0.7 --> 1.5.0.6 ??

Anybody got any ideas as to whats going on?

TIA
 
Old 10-06-2006, 04:26 AM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
Possibly you are pointing slackpkg to an out of date mirror, since I've not had your problem with it wanting to downgrade packages?
 
Old 10-06-2006, 04:47 AM   #3
Manx_UK
LQ Newbie
 
Registered: May 2003
Location: Staffordshire, England
Distribution: Slackware 11.0
Posts: 17

Original Poster
Rep: Reputation: 0
Well, the mirror file that slackpkg uses is from the 11.0 /extras release. I've tried 3-4 different mirrors, all with the same result.
 
Old 10-06-2006, 05:07 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
You have only one mirror uncommented in /etc/slackpkg/mirrors right?

Just make sure all the old mirrors are commented out.
 
Old 10-06-2006, 05:09 AM   #5
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 454

Rep: Reputation: 67
What output do you get by invoking
Code:
grep mozilla-firefox /etc/slackpkg/pkglist
?
 
Old 10-06-2006, 09:55 AM   #6
Manx_UK
LQ Newbie
 
Registered: May 2003
Location: Staffordshire, England
Distribution: Slackware 11.0
Posts: 17

Original Poster
Rep: Reputation: 0
I get,

Code:
grep mozilla-firefox /etc/slackpkg/pkglist

./slackware/xap/mozilla-firefox-1.5.0.7-i686-1.tgz
Also, Slackpkg seems to have built-in error checking on that /etc/slackpkg/mirrors file. If you don't select any mirror, it warns you and it won't start. Sames goes for if you uncomment out more than one.

Last edited by Manx_UK; 10-06-2006 at 10:26 AM.
 
Old 10-06-2006, 04:46 PM   #7
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 454

Rep: Reputation: 67
It is a very, very strange behaviour because mentioned pkglist is used for all operations like upgrade, install, reinstall, download and blacklist. I guess slackpkg upgrade mozilla-firefox won't offer a downgrade.

As I did reread your question, you've spoken about package list generation - do you get it by the search command ? If you do, then I'd first try to remove filelist.gz, slackware-filelist.gz, extra-filelist.gz and pasture-filelist.gz - they will be generated again. Then select up-to-date mirror and invoke slackpkg update again and check if it did helped.
 
Old 10-07-2006, 01:05 PM   #8
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
Blog Entries: 2

Rep: Reputation: 43
Hmm... Could it be that Slackware is moving to i686? I noticed that Xine is also being built targeted for that platform...

But anyway, do any of the mirrors you tried using even have the 1.5.0.6 version?
 
Old 10-08-2006, 09:39 PM   #9
Manx_UK
LQ Newbie
 
Registered: May 2003
Location: Staffordshire, England
Distribution: Slackware 11.0
Posts: 17

Original Poster
Rep: Reputation: 0
Here's some sample output from using the search function in slackpkg:

Code:
slackpkg search X | grep upgrade
[  upgrade  ] - aaa_base-11.0.0-noarch-2 --> aaa_base-11.0.0-noarch-1
[  upgrade  ] - etc-11.0-noarch-2 --> etc-5.1-noarch-13
[  upgrade  ] - glibc-solibs-2.3.6-i486-6 --> glibc-solibs-2.3.6-i486-5
[  upgrade  ] - kernel-modules-2.6.17.13-i486-1 --> kernel-modules-2.4.33.3-i486-1
[  upgrade  ] - logrotate-3.7.4-i486-1 --> logrotate-3.6.8-i486-1
[  upgrade  ] - pkgtools-11.0.0-i486-4 --> pkgtools-11.0.0-i486-2
[  upgrade  ] - espgs-8.15.3svn185-i486-1 --> espgs-8.15.2-i486-1
[  upgrade  ] - kernel-source-2.6.17.13-noarch-1 --> kernel-source-2.4.33.3-noarch-1
[  upgrade  ] - arts-1.5.4-i486-2 --> arts-1.5.4-i486-1
[  upgrade  ] - glibc-2.3.6-i486-6 --> glibc-2.3.6-i486-5
[  upgrade  ] - glibc-i18n-2.3.6-noarch-6 --> glibc-i18n-2.3.6-noarch-5
[  upgrade  ] - jre-1_5_0_09-i586-1 --> jre-1_5_0_08-i586-1
[  upgrade  ] - libwpd-0.8.6-i486-1 --> libwpd-0.8.5-i486-1
[  upgrade  ] - pango-1.12.4-i486-1 --> pango-1.12.3-i486-1
[  upgrade  ] - shared-mime-info-0.19-i486-1 --> shared-mime-info-0.18-i486-1
[  upgrade  ] - openssl-0.9.8d-i486-1 --> openssl-0.9.8b-i486-1
[  upgrade  ] - sendmail-cf-8.13.8-noarch-4 --> sendmail-cf-8.13.8-noarch-3
[  upgrade  ] - dejavu-ttf-2.10-noarch-1 --> dejavu-ttf-2.9-noarch-1
Am i being stupid and getting confused about the --> indicating to what the package will be updated to? If not, then you will see that every package is being flagged for applying a previous version.

Also, i have checked that i only have one mirror commented out by running the following:

Code:
grep -v '^#' /etc/slackpkg/mirrors | sed -e '/^ *$/d'
http://www.mirror.ac.uk/mirror/ftp.slackware.com/slackware-current/
 
Old 10-09-2006, 03:14 AM   #10
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 454

Rep: Reputation: 67
All I have to say is change to another repository server.
Mirror on http://www.mirror.ac.uk/mirror/ftp.s...kware-current/ is outdated, syncing is somehow broken. I've checked pkgtools and glibc and both are in lower versions then on other sites.
 
Old 10-09-2006, 06:42 AM   #11
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Try using a US mirror. The one at osuosl is always up to date and is quick from the UK as well. I don't think that's the problem though as mirror.ac.uk is also up to date now. I had a similar problem with slackpkg wanting to downgrade rather than upgrade.

I've just noticed you're pointing at slackware-current rather than slackware-11.0. Maybe that's the problem. The slackware-current at mirror.ac.uk IS out of date.

Last edited by simcox1; 10-09-2006 at 06:50 AM.
 
Old 12-20-2006, 01:59 PM   #12
Feinom
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Slackware 12.2
Posts: 40

Rep: Reputation: 17
I'm having the same problem... I think I'll drop using slackpkg until it sorts its problems out.
 
Old 12-20-2006, 02:53 PM   #13
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
I've the problems with UK mirrors myself, that one in particular. The Belgium ones seem most reliable in my experience.
 
Old 12-22-2006, 07:22 PM   #14
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
For now use the Slackware-11 mirrors because they have been updated more. There is an entry about it in the -current changelog. That should fix some of your problems.

Also, slackpkg will list packages for upgrade simply because the package names are different from the package list. For example, I have Gaim 2.0.0beta3.1 installed, which is newer than the Gaim 1.5 included in Slackware 11. However, when I do an upgrade-all, I get this:

[ upgrade ] - gaim-2.0.0beta3.1 --> gaim-1.5.0-i486-2

So you just have to remember which package is really the one you want.
 
  


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
slackpkg moob8 Slackware 1 10-01-2006 03:46 AM
slackpkg trouble marsques Slackware 6 09-14-2006 01:48 AM
Slackpkg? vharishankar Slackware 13 08-04-2006 09:10 PM
SuperKaramba 3.71 slackpkg adds2one Slackware 2 09-04-2005 04:23 PM
slackpkg any good? mcd Slackware 6 04-06-2004 07:13 PM


All times are GMT -5. The time now is 08:06 AM.

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