Thanks for the clear example Jaime. Very helpful. Comments below.... Received Sat 02 May 2009 9:47am +1000 from Jaime Ochoa Malagón: > my test is the following: > > put this lines in your /etc/apt/sources.list
wajig editsources > deb http://www.debian-multimedia.org/ lenny main > deb http://www.debian-multimedia.org/ etch main wajig install dvdstyler=1:1.4-0.5 > refugio:/home/chptma# apt-cache policy dvdstyler > dvdstyler: > Installed: 1:1.4-0.5 > Candidate: 1:1.7.1-0.1 > Version table: > 1:1.7.1-0.1 0 > 900 http://www.debian-multimedia.org lenny/main Packages > *** 1:1.4-0.5 0 > 500 http://www.debian-multimedia.org etch/main Packages > 100 /var/lib/dpkg/status > > the preferences should let dvdstyler to upgrade For me: wajig avail dvdstyler dvdstyler: Installed: 1:1.4-0.5 Candidate: 1:1.7.1-0.1 Version table: 1:1.7.1-0.1 0 500 http://www.debian-multimedia.org lenny/main Packages *** 1:1.4-0.5 0 500 http://www.debian-multimedia.org etch/main Packages 100 /var/lib/dpkg/status > wajig dailyupgrade attemps to upgrade dvdstyler and their depends I > only show the important package (the problem ahs grow since then for > an experimental package that I have...) > > The following NEW packages will be installed: > dvdstyler-data libwxsvg0 > The following packages will be upgraded: > dvdstyler > > I choose to hold dvdstyler > > refugio:/home/chptma# wajig hold dvdstyler > The following packages are on hold: > dvdstyler > > wajig dailyupgrade correctly hold the package but continue to attemps > to install depends > > The following NEW packages will be installed: > dvdstyler-data libwxsvg0 > The following packages have been kept back: > dvdstyler Hmm, I don't suppose these two are dependencies of other packages that are getting upgraded? Doesn't look like it: $ wajig dependents dvdstyler-data d dvdstyler > refugio:/home/chptma# apt-cache policy dvdstyler > dvdstyler: > Installed: 1:1.4-0.5 > Candidate: 1:1.7.1-0.1 > Version table: > 1:1.7.1-0.1 0 > 900 http://www.debian-multimedia.org lenny/main Packages > *** 1:1.4-0.5 0 > 500 http://www.debian-multimedia.org etch/main Packages > 100 /var/lib/dpkg/status > > refugio:/home/chptma# aptitude upgrade > W: The "upgrade" command is deprecated; use "safe-upgrade" instead. > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > No packages will be installed, upgraded, or removed. > 0 packages upgraded, 0 newly installed, 0 to remove and 25 not upgraded. > Need to get 0B of archives. After unpacking 0B will be used. > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done Okay, so the two packages don't get marked as requiring upgrade. So I'm guessing apt-get is not noticing that dvdstyler is not being upgraded, and so tried to install its new dependencies? Yet aptitude is doing the right thing. > refugio:/home/chptma# aptitude dist-upgrade > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > No packages will be installed, upgraded, or removed. > 0 packages upgraded, 0 newly installed, 0 to remove and 25 not upgraded. > Need to get 0B of archives. After unpacking 0B will be used. > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > > refugio:/home/chptma# aptitude safe-upgrade > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > No packages will be installed, upgraded, or removed. > 0 packages upgraded, 0 newly installed, 0 to remove and 25 not upgraded. > Need to get 0B of archives. After unpacking 0B will be used. > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > > If I unhold the package: > > refugio:/home/chptma# aptitude upgrade > W: The "upgrade" command is deprecated; use "safe-upgrade" instead. > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > Resolving dependencies... > The following NEW packages will be installed: > dvdstyler-data{a} libwxsvg0{a} > The following packages will be REMOVED: > mpgtx{u} > The following packages will be upgraded: > dvdstyler > 1 packages upgraded, 2 newly installed, 1 to remove and 24 not upgraded. > Need to get 0B/1407kB of archives. After unpacking 2654kB will be used. > > If I mark the version to "F"orget in aptitude > > refugio:/home/chptma# aptitude upgrade > W: The "upgrade" command is deprecated; use "safe-upgrade" instead. > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > No packages will be installed, upgraded, or removed. > 0 packages upgraded, 0 newly installed, 0 to remove and 25 not upgraded. > Need to get 0B of archives. After unpacking 0B will be used. > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > > Hope all this helps. Yes it does. Thanks. It does look like an apt-get issue. Interestingly, "wajig upgrade" does not seem to try to install dvdstyler-data (as one might expect given the difference between upgrade and dist-upgrade). I'll reassign this to apt-get. I don't see it as a wajig issue as such. Is it problematic that the other two packages get installed? At least dvdstyler is not being upgraded. Regards, Graham > > 2009/5/1 Graham Williams <[email protected]>: > > Hi Jaime, > > > > Could you provide the sequence of commands or example that exhibits > > the bug behaviour and is repeatable. I've not been able to repeat > > this yet and without repeatability and a clear demonstration it is > > hard to fix. > > > > Thanks, > > Graham > > > > Received Sat 02 May 2009 5:33am +1000 from Jaime Ochoa Malagón: > >> Hi Graham, > >> > >> You are right, the bug is on apt-get. > >> > >> I didn know how work the hold feature in apt-get any way at this > >> moment didn't work... > >> > >> I don't know how to reasign the bug, did you mind to do this for me? > >> > >> Really I use aptitude that brings to me the feel of control and in > >> this case thats true, someone write about wajig and their good > >> features and I was testing it but this problem disapoint me and I > >> return to use aptitude, I feel confortable with wajig while that works > >> for me (not any more until this bug in apt-get is solved), thanks. > >> > >> 2009/4/30 Graham Williams <[email protected]> > >> > > >> > Hi Jaime, > >> > > >> > Thanks for the bug report. > >> > > >> > Underneath, the dailyupgrade command is simply doing: > >> > > >> > apt-get --show-upgraded dist-upgrade > >> > > >> > so I would guess the same situation is there with apt-get. > >> > > >> > Do you think instead this might be a wajig specific problem? > >> > > >> > Otherwise could you reassign this to apt-get, perhaps as a wishlist? > >> > > >> > Or is there an option to apt-get to get the behaviour you want? That > >> > might be something we could fix wajig with. > >> > > >> > Thanks, > >> > Graham > >> > > >> > Received Wed 18 Feb 2009 4:41pm +1100 from Jaime Ochoa Malagón: > >> > > Package: wajig > >> > > Version: 2.0.38 > >> > > Severity: normal > >> > > > >> > > *** Please type your report below this line *** > >> > > > >> > > Some package have a bug and I request to downgrade it to the stable > >> > > version... > >> > > > >> > > wajig dailyupgrade wants to upgrade it to my preferences (testing) > >> > > > >> > > I hold the package > >> > > > >> > > wajig dailyupgrade hold the stable package BUT pretends to install the > >> > > depends of the test version, thats is a bug... > >> > > > >> > > -- System Information: > >> > > Debian Release: 5.0 > >> > > APT prefers stable > >> > > APT policy: (900, 'stable'), (550, 'unstable'), (500, 'oldstable') > >> > > Architecture: amd64 (x86_64) > >> > > > >> > > Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) > >> > > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > >> > > Shell: /bin/sh linked to /bin/bash > >> > > > >> > > Versions of packages wajig depends on: > >> > > ii apt 0.7.20.2 Advanced front-end for > >> > > dpkg > >> > > ii dselect 1.14.25 Debian package management > >> > > front-en > >> > > ii python 2.5.2-3 An interactive high-level > >> > > object-o > >> > > ii python-apt 0.7.7.1+nmu1 Python interface to > >> > > libapt-pkg > >> > > ii python-central 0.6.8 register and build > >> > > utility for Pyt > >> > > > >> > > wajig recommends no packages. > >> > > > >> > > Versions of packages wajig suggests: > >> > > ii alien 8.72 convert and install rpm > >> > > and other > >> > > ii apt-listbugs 0.0.94 Lists critical bugs > >> > > before each ap > >> > > ii apt-move 4.2.27-1+b4 Maintain Debian packages > >> > > in a pack > >> > > ii apt-show-versions 0.15 lists available package > >> > > versions w > >> > > ii debconf 1.5.24 Debian configuration > >> > > management sy > >> > > ii deborphan 1.7.27 program that can find > >> > > unused packa > >> > > ii dpkg-repack 1.30 puts an unpacked .deb > >> > > file back to > >> > > ii fakeroot 1.11 Gives a fake root > >> > > environment > >> > > ii fping 2.4b2-to-ipv6-15 sends ICMP ECHO_REQUEST > >> > > packets to > >> > > pn gkdebconf <none> (no description available) > >> > > pn gnome-tasksel <none> (no description available) > >> > > pn gnome-terminal <none> (no description available) > >> > > ii locales 2.7-18 GNU C Library: National > >> > > Language ( > >> > > pn lynx <none> (no description available) > >> > > ii python-glade2 2.12.1-6 GTK+ bindings: Glade > >> > > support > >> > > ii python-gnome2 2.22.3-1 Python bindings for the > >> > > GNOME desk > >> > > ii python-gtk2 2.12.1-6 Python bindings for the > >> > > GTK+ widge > >> > > ii reportbug 3.48 reports bugs in the > >> > > Debian distrib > >> > > ii sudo 1.6.9p17-2 Provide limited super > >> > > user privile > >> > > > >> > > > >> > > > >> > > -- > >> > > Perhaps the depth of love can be calibrated by the number of different > >> > > selves that are actively involved in a given relationship. > >> > > > >> > > Carl Sagan (Contact) > >> > > > >> > > Jaime Ochoa Malagón > >> > > Arquitecto de Soluciones > >> > > Cel: +52 (55) 1021 0774 > >> > > > >> > > > >> > > > >> > > -- > >> > > Perhaps the depth of love can be calibrated by the number of different > >> > > selves that are actively involved in a given relationship. > >> > > > >> > > Carl Sagan (Contact) > >> > > > >> > > Jaime Ochoa Malagón > >> > > Arquitecto de Soluciones > >> > > Cel: +52 (55) 1021 0774 > >> > > > >> > > > >> > > > >> > >> > >> > >> -- > >> Perhaps the depth of love can be calibrated by the number of different > >> selves that are actively involved in a given relationship. > >> > >> Carl Sagan (Contact) > >> > >> Jaime Ochoa Malagón > >> Arquitecto de Soluciones > >> Cel: +52 (55) 1021 0774 > >> > > > > > > -- > Perhaps the depth of love can be calibrated by the number of different > selves that are actively involved in a given relationship. > > Carl Sagan (Contact) > > Jaime Ochoa Malagón > Arquitecto de Soluciones > Cel: +52 (55) 1021 0774 > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

