Discussion:
[Slapt-get-user] more priority issues
Rick Dicaire
2010-03-30 17:33:51 UTC
Permalink
Hi folks...here's my slapt-getrc:

WORKINGDIR=/var/slapt-get
EXCLUDE=
SOURCE=http://slack13-ipv6.mirror.kritek.net/:CUSTOM
SOURCE=ftp://slackware.mirrors.tds.net/pub/slackware/slackware-13.0/:OFFICIAL
SOURCE=ftp://slackware.mirrors.tds.net/pub/slackware/slackware-13.0/extra/:OFFICIAL
SOURCE=http://software.jaos.org/slackpacks/13.0/
SOURCE=http://repository.slacky.eu/slackware-13.0/

I have a custom pkg in the CUSTOM repo, net-snmp, its version is
net-snmp-5.4.2.1-i486-2rrd.

slapt-get --upgrade wants to upgrade net-snmp-5.4.2.1-i486-2rrd to
net-snmp-5.4.2.1-i486-1 from the OFFICIAL
repository:

slapt-get --upgrade
Reading Package Lists... Done
The following packages will be upgraded:
net-snmp
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1.8MB of archives.
After unpacking 40.0kB disk space will be freed.
Do you want to continue? [y/N]
Abort.

slapt-get --show net-snmp
Package Name: net-snmp
Package Mirror: ftp://slackware.mirrors.tds.net/pub/slackware/slackware-13.0/
Package Priority: Official
Package Location: ./slackware/n
Package Version: 5.4.2.1-i486-1
Package Size: 1804 K
Package Installed Size: 8280 K
Package Required:
Package Conflicts:
Package Suggests:
Package MD5 Sum: 67fe6a48c220e0dd42440e717015fcc0
Package Description:
net-snmp (Simple Network Management Protocol tools)

Various tools relating to the Simple Network Management Protocol:

An extensible agent
An SNMP library
Tools to request or set information from SNMP agents
Tools to generate and handle SNMP traps
A version of the unix 'netstat' command using SNMP
A graphical Perl/Tk/SNMP based mib browser

Package Installed: no

slapt-get --search net-snmp
net-snmp-5.4.2.1-i486-1 [inst=no]: net-snmp (Simple Network Management
Protocol tools)
net-snmp-5.4.2.1-i486-2rrd [inst=yes]: net-snmp (Simple Network
Management Protocol tools)

slapt-get --version
slapt-get version 0.10.2d

Am I missing something in slapt-getrc?

Thanks

----
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
woodwardj
2010-03-30 17:55:12 UTC
Permalink
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://software.jaos.org/pipermail/slapt-get-user/attachments/20100330/aec09b88/attachment.asc>
Rick Dicaire
2010-03-30 17:59:15 UTC
Permalink
On Tue, Mar 30, 2010 at 1:55 PM, <woodwardj at jaos.org> wrote:
> It looks like net-snmp is not in the http://slack13-ipv6.mirror.kritek.net/ package source.
>
> Did you mean it to be?

Its not in that repo, why does that make a difference? Its version is
newer than any version in current repos.
Do I misunderstand something?

--
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
woodwardj
2010-03-30 18:50:29 UTC
Permalink
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://software.jaos.org/pipermail/slapt-get-user/attachments/20100330/f185ee62/attachment.txt>
Rick Dicaire
2010-03-30 19:46:59 UTC
Permalink
On Tue, Mar 30, 2010 at 2:50 PM, <woodwardj at jaos.org> wrote:
> At least for this test case if slapt-get can't find it in a repository then it doesn't know
> what priority to assign to it (as its only installed). ?Adding :CUSTOM to the first repository
> doesn't make a difference.

So the fact that a newer version of a pkg is installed according to
the Slackware pkg db in /var/log/packages being ignored by slapt-get,
does that indicate a potential bug in slapt-get?

I can put the newer net-snmp pkg in my custom repo, which will stop
slapt-get from wanting to downgrade that pkg in my instance, but
slapt-get not recognizing the installed newer version because its not
currently in a repo seems like a bug.

As an experiment, I commented out the custom repo, and the slacky.eu
repo. All my installed custom pkgs now want to be downgraded to
repo-only versions. This is new behaviour by slapt-get, but I cannot
pinpoint at what version this started. Before I started using my own
custom repo (approximately a year or less ago), I simply built and
installed my custom pkgs, and slapt-get wouldn't try to upgrade
(downgrade) to repo-only versions.

This only seems to apply to pkgs that exist in a configured repo, but
were locally upgraded. Custom pkgs installed that don't exist in a
configured repo appear unaffected.

Consider this a bug report :)

--
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
woodwardj
2010-03-30 23:05:10 UTC
Permalink
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://software.jaos.org/pipermail/slapt-get-user/attachments/20100330/65f6a95d/attachment.asc>
Rick Dicaire
2010-03-30 23:09:10 UTC
Permalink
On Tue, Mar 30, 2010 at 7:05 PM, <woodwardj at jaos.org> wrote:
> You can turn off priorities and get the normal version compare results.

Ohhhhh good deal then, I didn't see this semantic documented, if I
missed it I apologize.

Thank you very much!
--
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
Continue reading on narkive:
Loading...