spiralofhope
June 16th, 2013, 06:23 PM
I can, for example, do this:
\sudo \apt-get --print-uris --yes --reinstall install bash
Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded. Need to get 643 kB of archives. After this operation, 0 B of additional disk space will be used. 'http://archive.ubuntu.com/ubuntu/pool/main/b/bash/bash_4.2-5ubuntu3_amd64.deb' bash_4.2-5ubuntu3_amd64.deb 642968 MD5Sum:55770c1cfb19e0853ddc2f30d7eb114e I want to do the same thing with dist-upgrade. The other day I did this and could get _some_ URLs, but for some reason some packages were not included. Now those same packages refuse to print.
sudo apt-get dist-upgrade --print-uris --yes
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: dbus dbus-x11 libdbus-1-3 libdbus-1-3:i386 libfm-data libfm-gtk-data linux-libc-dev 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1,771 kB of archives. After this operation, 67.6 kB of additional disk space will be used. Why would some packages not work the same as others? Do I need to pursue some other command-line way to do the same thing? I can get more information by comparing with Synaptic's "Generate package download script".
wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/libdbus-1-3_1.6.8-1ubuntu6.1_i386.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/libdbus-1-3_1.6.8-1ubuntu6.1_amd64.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/dbus_1.6.8-1ubuntu6.1_amd64.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/dbus-x11_1.6.8-1ubuntu6.1_amd64.deb wget -c http://ppa.launchpad.net/mati75/lubuntu/ubuntu/pool/main/libf/libfm/libfm-data_1.1.0+git20130614-0ubuntu1_all.deb wget -c http://ppa.launchpad.net/mati75/lubuntu/ubuntu/pool/main/libf/libfm/libfm-gtk-data_1.1.0+git20130614-0ubuntu1_amd64.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.8.0-25.37_amd64.deb (No I do not want to use Synaptic for this process, it must be command-line) This reveals that these are valid packages to download, with dependencies which have been met. Could the two PPA packages be interfering with apt-get --print-uri ?
\sudo \apt-get --print-uris --yes --reinstall install bash
Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded. Need to get 643 kB of archives. After this operation, 0 B of additional disk space will be used. 'http://archive.ubuntu.com/ubuntu/pool/main/b/bash/bash_4.2-5ubuntu3_amd64.deb' bash_4.2-5ubuntu3_amd64.deb 642968 MD5Sum:55770c1cfb19e0853ddc2f30d7eb114e I want to do the same thing with dist-upgrade. The other day I did this and could get _some_ URLs, but for some reason some packages were not included. Now those same packages refuse to print.
sudo apt-get dist-upgrade --print-uris --yes
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: dbus dbus-x11 libdbus-1-3 libdbus-1-3:i386 libfm-data libfm-gtk-data linux-libc-dev 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1,771 kB of archives. After this operation, 67.6 kB of additional disk space will be used. Why would some packages not work the same as others? Do I need to pursue some other command-line way to do the same thing? I can get more information by comparing with Synaptic's "Generate package download script".
wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/libdbus-1-3_1.6.8-1ubuntu6.1_i386.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/libdbus-1-3_1.6.8-1ubuntu6.1_amd64.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/dbus_1.6.8-1ubuntu6.1_amd64.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dbus/dbus-x11_1.6.8-1ubuntu6.1_amd64.deb wget -c http://ppa.launchpad.net/mati75/lubuntu/ubuntu/pool/main/libf/libfm/libfm-data_1.1.0+git20130614-0ubuntu1_all.deb wget -c http://ppa.launchpad.net/mati75/lubuntu/ubuntu/pool/main/libf/libfm/libfm-gtk-data_1.1.0+git20130614-0ubuntu1_amd64.deb wget -c http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.8.0-25.37_amd64.deb (No I do not want to use Synaptic for this process, it must be command-line) This reveals that these are valid packages to download, with dependencies which have been met. Could the two PPA packages be interfering with apt-get --print-uri ?