Questions tagged [apt]

Debian's Advanced Packaging Tool whose main binary is apt-get. Most questions about APT are off topic for Stack Overflow, unless it is clearly related to a programming tool.

Advanced Packaging Tool, the Debian software package manager which keeps track of the software repositories for the system, which offers package dependency resolution, upgrade of the installed packages, download and installation of new software.

1492 questions
-2
votes
1 answer

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile If I search: [how to install wget on debian] I get articles that say: $sudo apt install wget So I try to do that in Docker: FROM debain apt install wget and I get…
user10664542
  • 1,106
  • 1
  • 23
  • 43
-2
votes
2 answers

How can I insert a word inside a command in Linux?

Now, I have a simple file that runs every time I open my Gitpod(cloud env). I am making a file so that I can access it via ngrok. But, I need some packages, like wget, unzip and neofetch(for my ease). But it opens in a different terminal and I have…
L-G
  • 1
  • 1
  • 3
-2
votes
1 answer

plss help me to solve these i was instlling my sql and suddenly the error come

(Original post does not include the actual apt-get command used) The question is actually: What causes this output while updating mysql, and how do I fix it? Reading package lists... Done Building dependency tree Reading state information...…
-2
votes
1 answer

How to put advertising in a Maven generated site like GoogleAds

I have a Maven generated site, and I would like to include some Google Ads or similar type of publicity in the site. GoogleAds works with a script tag in the HTML, however when using a simple Maven site with only APT files, I cannot see a way to put…
AngocA
  • 7,655
  • 6
  • 39
  • 55
-2
votes
1 answer

how to make deb file install other deb files without errors?

I created a local repository. Than i make a 2 debian files, a batman.deb file that have for dependency base.deb Control file: Package: batman Version: 1.0 Architecture: all Essential: no Priority: optional Depends: base Maintainer:…
Philip Scot
  • 171
  • 2
  • 2
  • 9
-2
votes
1 answer

how to kill process holding the apt lock

I'm updating apt and installing mysql-client at run time to a ubuntu 18.04 aws instance. My shell command are like, - apt-get update - apt-get install -y mysql-client - apt-get install -y unzip But 'apt-get install -y…
Achini
  • 61
  • 1
  • 8
-2
votes
2 answers

Error while installing libpulse-dev package in ubuntu

When i try to install libpulse-dev i am getting error as The following packages have unmet dependencies: libpulse-dev : Depends: libglib2.0-dev but it is not going to be installed E: Unable to correct problems, you have held broken…
johnson
  • 117
  • 3
  • 12
-2
votes
1 answer

ubuntu remove package actually installs other dependencies

On ubuntu when I use apt remove to delete a package, it will actually also install/update other dependency packages. Of course, that is not desired, so I'm wondering how can I remove the package and ignore any other dependencies from being…
user3144292
  • 402
  • 2
  • 6
  • 16
-2
votes
1 answer

All debian main commands broken by glibc

Here is the thing. I'm lost. I downgraded from Debian 10 buster (testing) to Debian 9 stretch (stable) by editing the /etc/apt/sources.list file. I typed : apt-get update apt-get upgrade apt-get dist-upgrade All worked, lsb_release -a shown me a…
Maxime
  • 61
  • 1
  • 1
  • 9
-2
votes
1 answer

How to differentiate between manually installed packages and dependencies on linux

I am a noob in linux and right now I am using a raspberry pi with raspbian to learn about it. I am trying the commands to install and uninstall packages (apt) but i have the following doubt. Is there a way to differentiate between packages that I…
potato
  • 140
  • 8
-2
votes
2 answers

when I install a software in my Ubuntu16.04, I got the following messages

$ sudo apt install snort E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Then, I try sudo dpkg --configure -a [sudo] password for hill: Setting up firefox (59.0.1+build1-0ubuntu0.16.04.1)…
Yuber Hu
  • 1
  • 2
-2
votes
1 answer

Apt-get stopped working

Relatively new to Linux but I've become comfortable enough with the terminal.However recently with any "apt-get install" I get this in response E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). When I try…
Fiach Oneill
  • 3
  • 1
  • 4
-2
votes
1 answer

Installing software in kubuntu

I have recently installed kubuntu. I am able to install softwares from muon software center. But when I try to do so from the terminal, I get errors. For instance on trying to update, I get: Err http://archive.canonical.com quantal InRelease Err…
sudeepdino008
  • 3,194
  • 5
  • 39
  • 73
-3
votes
1 answer

Debconf: Perl may be unconfigured (Can't locate strict.pm in @INC

I have a problem my computer. I'm not really an expert. Few days ago I encountered a problem with my computer : it won't start, I discovered that my nvme0n1p5 partition was full (I'm not really sure if it's a partition or something else). To make my…
-3
votes
1 answer

Error while installing nodejs v18 on ubuntu 20.04

How can i fix this error? I got this error when i tried to install nodejs v18 using these commands curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\ sudo apt-get install -y nodejs THE ERROR: E: Repository…
1 2 3
99
100