saving package list

Cary Bielenberg cary at bielenberg.id.au
Sun Aug 31 09:54:33 UTC 2008


Guys,
If you copy the contents of "/var/cache/apt/archives" & "sudo dpkg -i 
*.deb" you should get all the packages installed that are in that 
directory. If it borks along the way just "sudo apt-get -f install" to 
fix dependencies.

Caveat you have to be on the same *buntu version & have upgraded to 
current level (apt-get update & apt-get upgrade)



Cary

Paul Hurley wrote:
> Willy K. Hamra wrote:
>   
>> This is a multi-part message in MIME format.
>> --------------070603060306070708070606
>> Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: quoted-printable
>>
>> i found a lot of websites explaining how to save the list of installed
>> packages, to be used after a fresh install for example. there is a lot
>> of packages that i don't want to install, i can simply delete their
>> names from the list, but their dependencies will still get installed,
>> and as far as i understand, apt will consider them manually installed
>> packages, so i don't think "apt-get autoremove" will remove them, or am
>> i wrong? in which case, it's all i need to know :P
>> otherwise, is there a way to save a list of packages i manually
>> specified to apt? i usually ask for a package and apt automatically
>> install dependencies, is there a way to get a list of these packages i
>> typed?
>> thanks in advance
>>
>> --=20
>> Willy K. Hamra
>> Manager of Hamra Information Systems
>> Co. Manager of Zeina Computer & Billy Net
>>   
>>     
> Does anyone know how to derive a list of installed packages directly 
> from the filesystem, not from a working system.  My Laptop died 
> recently, and I can extract the hard drive and mount it, but I can't 
> boot that installation.  Ideally I'd like to extract the list of 
> installed packages from it to install elsewhere ?
>
> Thanks
>
> Paul.
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20080831/01a48114/attachment.html>


More information about the kubuntu-users mailing list