Re: Problems with apt

Horst Graffy <[email protected]> Thu, 31 Mar 2005 21:11:46 +0200
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
Am Donnerstag, 31. März 2005 20:40 schrieb Erik Jakobsen:
> Ok Toni. Thanks for your reply. To be honest I'm still not quite sure on
> how to decrease the size of the list.
> What could stand for <list> for instance ?.
apt upgrade gives you a list of all packags what would be upgraded ...
apt -s upgrade > listofnewrpms
then edit the file listofnewrpms:
insert as first line 
#!/bin/bash
apt install \
add at the end of every line a " \" (without quotes)

after several lines you insert again apt install \

remark: all lines exept the last line should be terminated with " \"
so you create a little script to update all your packages in several steps ..

then chmod +x listofnewrpms.txt
and ./listofnewrpms

example:
#!/bin/bash
apt install \
ZynAddSubFX amarok amarok-gstreamer amarok-xine amarok-xmms \ epiphany 
gtk-qt-engine gtkmm2 hydrogen kconfigeditor kconfigure kdar \
....
apt install \
kmymoney   librsvg libsigc++2 libxslt libxslt-devel mlterm mozilla \ 
mozilla-calendar mozilla-irc mozilla-mail mozilla-spellchecker \ 
mozilla-venkman rosegarden4 uim
...
apt install <the other packages>

>
> Sorry that I'm unable to see the forrest for trees :-)
:-)
>
> Erik
Toni