LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2006, 12:24 AM   #1
coco03
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
how to forbid apt-get .deb removing


Hello,

I works under Ubuntu.
I use apt-get install to install softwares.

I would like to get all the install packages of softwares I have installed.
These packages (.deb) are under /var/cache/apt/archives/, but some packages are absent.

For example I have installed x-server-xorg and x-window-system-core, but there isn't such .deb packages. Some libraries and softwares .deb installers are also absent.
I think "apt" remove some .deb installer after install.

My question :
How to configure apt in order to keep all installed packages on my computer ?

Thank you
COCO03
 
Old 03-29-2006, 01:35 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044
If you do

apt-cache showpkg xserver-xorg

(note the typo in your post, it is not x-server-xorg)

you should see that the .deb name is different.

This is the output of that command:

Quote:
Package: xserver-xorg
Versions:
6.9.0.dfsg.1-5(/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages)
6.9.0.dfsg.1-4(/var/lib/apt/lists/ftp.debian.org_debian_dists_testing_main_binary-i386_Packages)
6.8.2.dfsg.1-7(/var/lib/dpkg/status)
If you check for this package, you should see that it is still there. Unless Ubuntu is very different from debian. Apt does not remove the .deb packages. But even if it did, why would you worry about it?

If there is anything more you'd like to know, you might take a look at the apt howto page

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dpkg -i .deb and apt-get, ok to mix? r3dhatter Debian 1 09-24-2005 10:13 PM
apt-get for both rpm and deb abd_bela Conectiva 1 02-16-2005 08:40 AM
Where are my .deb packages from /var/cache/apt/archives? bruno buys Debian 3 02-13-2005 07:21 AM
dependency hell - installing .deb files without apt-get SerfurJ Debian 5 01-27-2005 02:51 PM
Knoppix-Install Ok apt-get Deb=Modem not right suguru Debian 0 08-28-2004 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration