Been playing around with Apt-Zip (there's a man page online at http://debian.ipv6.fhtw-berlin.de/ger/howto/apt-zip.html) and finding it very useful.
I had to hack the output around so that I caould use FTP in batch mode via windows 2000 but that wasn't too hard (it might be a nice option to put in the apt-zip-list script). And then I neaded to hack the output again to process the .deb files (couldn't get apt-zip-inst to work on my system), but again that was fairly straightforward. I'll do a more detailed write-up if anyone's interested in the details. I must admit that now I've been through the process a couple of times it'd probably be just a quick to drive the whole thing directly from the cmmand line with apt-get and a couple of gawk or perl scripts.
But I have a question for the Debian gurus out there :o)
When I run Synaptic it lists over 80 packages as candidates for upgrade but when I run apt-get in simulate mode to list the package details it only includes 5. It says the others have been 'held back'. Now IIRC this is because upgrading these would involve installing or removing othe packages. Is this correct? If so, is there any way I can override this so the package is included in the list of packages to be upgraded (plus any dependancies). This is so I can use apt-get-zip to download then elsewhere and then do the upgrade offline.
On Mon, 2003-10-13 at 11:33, kpwatson@pop3.ukfsn.org wrote:
but when I run apt-get in simulate mode to list the package details it only includes 5. It says the others have been 'held back'. Now IIRC this is because upgrading these would involve installing or removing othe packages. Is this correct? If so, is there any way I can override
You have to run apt-get dist-upgrade in order to get it to work harder and remove stuff if need-be.
D.
On 1/1/1970, "Daniel Silverstone" dsilvers@digital-scurf.org wrote:
On Mon, 2003-10-13 at 11:33, kpwatson@pop3.ukfsn.org wrote:
but when I run apt-get in simulate mode to list the package details it only includes 5. It says the others have been 'held back'. Now IIRC this is because upgrading these would involve installing or removing othe packages. Is this correct? If so, is there any way I can override
You have to run apt-get dist-upgrade in order to get it to work harder and remove stuff if need-be.
Isn't apt-get dist-upgrade a bit of a sledgehammer option? :o)
Keith
On Mon, 2003-10-13 at 11:54, kpwatson@pop3.ukfsn.org wrote:
You have to run apt-get dist-upgrade in order to get it to work harder and remove stuff if need-be.
Isn't apt-get dist-upgrade a bit of a sledgehammer option? :o)
According to the apt-get manpage, dist-upgrade does the same as upgrade, only it can sacrifice other packages to make a better upgrade.
What this means is that it can remove stuff if it needs to in order to upgrade nicely. I *always* run dist-upgrade with the -u flag, which causes it to tell you exactly what it will do before it starts.
As long as you check it before letting it get on with it, there's no reason not to use dist-upgrade.
The dist-ugprade algorithm is what synaptic uses anyway when you hit the dist-upgrade button on synaptic's toolbar.
D.
On 2003-10-13 11:33:32 +0100 kpwatson@pop3.ukfsn.org wrote:
but when I run apt-get in simulate mode to list the package details it only includes 5. It says the others have been 'held back'.
As well as the quite correctly stated difference between upgrade and dist-upgrade, it is also possible to mark packages as "hold". I can't remember how you do that from synaptic, but in one of (dselect, console-apt, aptitude) it is the = key that toggles the hold marking.
On 1/1/1970, "MJ Ray" mjr@dsl.pipex.com wrote:
On 2003-10-13 11:33:32 +0100 kpwatson@pop3.ukfsn.org wrote:
but when I run apt-get in simulate mode to list the package details it only includes 5. It says the others have been 'held back'.
As well as the quite correctly stated difference between upgrade and dist-upgrade, it is also possible to mark packages as "hold". I can't remember how you do that from synaptic, but in one of (dselect, console-apt, aptitude) it is the = key that toggles the hold marking.
..and it's also "A Really Good Idea" to read the Apt-Howto http://www.debian.org/doc/user-manuals#apt-howto at some time. Wish I'd read this 6 months ago :o).
Lots of other good stuff at DDP Users' Manuals http://www.debian.org/doc/user-manuals as well.
Anyone care to comment on The Linux Cookbook?
Regards,
Keith