LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-24-2021, 06:43 PM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Rep: Reputation: 15
Cannot find .deb archive files when/after apt-get install


Why .deb archive files cannot be found when/after installing by apt-get install in order that we keep .deb file for future use ?
Audacious was done but in /var/cache/apt/archives is nothing, how to get it definitely?

Last edited by BudiKusasi; 02-24-2021 at 07:01 PM.
 
Old 02-24-2021, 07:01 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I guess deb files are not found because they don't exist. They don't exist because they are not needed. If you want the deb file, obtain it from the web site that contains the repository, or try https://pkgs.org/download/audacious.

I now see that there are options, and the behaviour depends on the tool used to install. This is discussed in an askubuntu thread: https://askubuntu.com/questions/8975...-the-deb-files. Most likely also applicable to Debian?

Last edited by berndbausch; 02-24-2021 at 07:05 PM. Reason: Added information
 
1 members found this post helpful.
Old 02-25-2021, 11:15 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Packages should be in the cache /var/cache/apt/archives

If they are not, you may run apt-get with the "clean" option or you may have something different configured via apt.conf or /etc/apt.conf.d/

Have a look at your cache settings:
Code:
$ apt-config dump|grep -i cache

Last edited by cynwulf; 02-25-2021 at 11:16 AM.
 
Old 02-25-2021, 11:35 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
@cynwulf. grep -i cache won't catch
Code:
Binary::apt::APT::Keep-Downloaded-Packages "0";
 
1 members found this post helpful.
Old 02-25-2021, 11:38 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
shruggy, thanks - forgot all about that one.

Incidentally, the default behaviours for this differ between apt and apt-get. I suggest that the OP is using apt and thus is not building up a cache?

Last edited by cynwulf; 02-25-2021 at 11:46 AM.
 
  


Reply



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
error processing archive /var/cache/apt/archives/libjpeg62-turbo-dev_1%3a1.3.1-12_amd64.deb (--unpack): thecowmilk Ubuntu 1 02-28-2020 07:03 AM
cannot lock locale archive "/usr/lib64/locale/locale-archive": Permission denied when building Multilib Cross Linux from Scratch Gunnersky2002 Linux - Software 2 06-13-2018 09:28 AM
Not able to run this command "sudo apt-get install libdevil-dev" even after trying "apt-get -f install" getting below error message srihariu1 Linux - Embedded & Single-board computer 2 04-26-2018 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:42 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