Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
96 views

Which PHP package version is currently in use

When I install php package with sudo apt install php-mysql. It installs two packages. Which one is in use? Are these really two packages or php-mysql is an alias like a symlink current package in use? ...
Łukasz Korona's user avatar
0 votes
0 answers
405 views

I want to update a debian package, but apt deletes packages that are needed

I can see that my xfce4-panel version didn't get upgraded to 4.16 (it's still 4.12) after upgrading debian from buster to bullseye. So I wrote sudo apt install xfce4-panel to try to upgrade xfce4-...
Mikkel Rev's user avatar
1 vote
1 answer
4k views

E: Unable to locate package mosquitto [closed]

I'm trying to install the mosquitto package, but when I type sudo apt-get install mosquitto it returns E: Unable to locate package mosquitto. I already ran sudo apt-get update and sudo apt-get upgrade....
Schneggl's user avatar
0 votes
2 answers
1k views

How do I reliably determine on Ubuntu when the latest version of a package was made available?

How to create a command, on Ubuntu, to report when the latest version of a given package was released? (I need to check this as part of proving that we install certain updates on certain servers ...
reinierpost's user avatar
3 votes
1 answer
502 views

How to remove non-launchpad-ppa repository from apt update list?

When I run sudo apt update, it hits/gets a list of urls, including Hit:7 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic InRelease. How do I remove this specific url from what apt ...
ClimbsRocks's user avatar
1 vote
2 answers
19k views

Not enough space in /var/cache/apt/archives/

Debian 10 desktop with persistence root@debian:~# df -h Filesystem Size Used Avail Use% Mounted on udev 3.8G 0 3.8G 0% /dev tmpfs 767M 19M 749M 3% /run /dev/...
t09's user avatar
  • 31
1 vote
2 answers
233 views

Mismatch version between installed package and executable version printing

I am facing an issue about mismatch between last updated package of PHP and what is actually run. Recently I have updated my Ubuntu server by running: apt-get update && apt-get upgrade On ...
Yanis-git's user avatar
  • 113
1 vote
3 answers
19k views

How to fix broken packages on Ubuntu

I have a Ubuntu 18.10 server, and recently tried to update git. I keep getting errors that a number of packages are not properly installed. Errors were encountered while processing: libpaper1:amd64 ...
port5432's user avatar
  • 173
1 vote
3 answers
5k views

Cannot upgrade Debian Jessie to Stable because of deb.sury PHP PPA

I'm attempting to upgrade my Linode Jessie instance to Stable by following this tutorial. I've upgraded my /etc/apt/sources.list file, and am up to the $ sudo apt update step. When I enter that ...
Major Productions's user avatar
7 votes
1 answer
3k views

How to completely remove a package in Ubuntu (like it never existed)

When I remove a package in Ubuntu using apt-get remove package, it always seems to leave behind a lot of files... for example, log files in /var/log, config files in /etc, data in /var/lib, etc. How ...
bumbleshoot's user avatar
0 votes
1 answer
1k views

Aptly publish asking for password although --passphrase flag is set

I unsuccessfully try publishing an APTLY snapshot (about 80GB) using aptly publish snapshot --batch=true --passphrase="SuperSecretPassWord" --distribution="mydistro" current-snapshot After about 15 ...
TheOneWithTheBraid's user avatar
0 votes
1 answer
136 views

jessie-backports-sloppy/ejabberd depends on jessie-backports packages how to solve

We have a debian jessie installation and we are trying to install a the package jessie-backports-sloppy/ejabberd with # apt-get -t jessie-backports-sloppy install ejabberd Reading package lists... ...
JAR's user avatar
  • 199
2 votes
1 answer
698 views

Download all package versions with aptly

How can we download all versions of a package when mirroring ? An example is the scsi-modules which can be found here: http://archive.ubuntu.com/ubuntu/pool/main/l/linux/ i need them all mirrored yet ...
Onitlikesonic's user avatar
1 vote
0 answers
177 views

How can I force the postinst for package A to run before the one for package B without depending on it?

(Hint to the reader: For the purpose of this post you can safely ignore what ufw is and how it actually works. My question is not about ufw, but about packaging). I have my own Deb package mypackage. ...
Nils Toedtmann's user avatar
1 vote
3 answers
4k views

PHP 5.6 not working - Ubuntu 12.04 [closed]

I had PHP5.3 on my ubuntu and is now trying to install PHP5.6 on it. After purging the current version, This is what I've done first: sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo ...
More_pheus's user avatar
1 vote
0 answers
347 views

How to auto update the expired GPG keys of APT?

When you create your own APT repo, you have to create a GPG key for it. So you need to import it with: apt-key add yourkey.asc or with a key server: apt-key adv --keyserver keyserver.ubuntu.com --...
Xorax's user avatar
  • 368
0 votes
0 answers
147 views

Yum/Apt Package Repository Managament, Mirrors and Hosted, Must be something better

I've been managing my Yum repositories with Pulp, mirrored and hosted. The complexity is pretty serious, so I've only considered the operational and infrastructure related repositories. DevOps has ...
J. M. Becker's user avatar
  • 2,491
3 votes
2 answers
5k views

Skipping the InRelease step when apt-get update (and go directly to Release)

I've just installed a fresh Xenial on a server box and almost immediately tried to install Docker on it. The Docker installation page says that you have to create a /etc/apt/sources.list.d/docker....
gfd's user avatar
  • 131
2 votes
1 answer
337 views

After upgrade to Ubuntu 14.04.3 LTS, MOTD always says 0 new packages can be updated

I'm not a server expert and so I'm experiencing some upgrade issues with Ubuntu. A little history: my Digital Ocean droplet was running Ubuntu 12.04 LTS, then a few months ago I upgraded to a newer ...
mfink's user avatar
  • 183
0 votes
1 answer
680 views

reprepro FilterList ignores packages containing :i386

I am using reprepro to create a partial local Debian mirror. My conf/updates file looks like this: Name: update-wheezy Method: http://ftp.tu-graz.ac.at/mirror/debian Suite: wheezy Components: main ...
nharrer's user avatar
  • 111
2 votes
1 answer
2k views

Unattended upgrades: kernels taking up /boot space

Typically I like to have unattended-upgrades enabled in all my Ubuntu 14.04 servers (both security and updates). The relevant configuration line for my question is the following: // Do automatic ...
Raj's user avatar
  • 21
1 vote
1 answer
393 views

Prevent debian package from being removed by puppet

is there a way to prevent a debian package from being removed? I want to prevent any resolution of "replaces" and "breaks" attributes that would lead to removing that package while being able to ...
Benedikt Haug's user avatar
0 votes
1 answer
54 views

Are we drowning in package managers? [closed]

The current trend is to use language-oriented package manager, such as npm or bower for javascript, pip for python, gems for ruby and so on. As I understand the need for a dependency manager when you ...
luxcem's user avatar
  • 111
2 votes
1 answer
2k views

Equivalent yum command for `apt-get install -y packagename --no-upgrade`

I was using this command in a shell script on my ubuntu server apt-get install -y packagename --no-upgrade . It will install the package if it is not already present. It will not upgrade the package. ...
Harikrishnan's user avatar
  • 1,379
8 votes
3 answers
9k views

Install Debian Backports kernel automatically

I've got the following pinnings set: Package: linux-image-amd64 Pin: release a=wheezy-backports Pin-Priority: 1001 Package: * Pin: release a=wheezy-backports Pin-Priority: 499 I get the following ...
Tim Stoop's user avatar
  • 628
-1 votes
1 answer
432 views

debian LTS : how to keep packages up-to-date with last security fixes using apt

What's the best way to keep packages up-to-date (ie with the last security fixes) without worried about major version update ? For instance, apache2 for squeezeis is 2.2.16 (https://packages.debian....
Quentin's user avatar
  • 101
1 vote
1 answer
273 views

Apt-dater: Keep specific packages from updating

I am using Apt-dater to manage updating of Ubuntu servers. I have some packages that cannot be updated but want to still update everything else on those servers. I wonder if Apt-dater supports this. ...
Madoc Comadrin's user avatar
0 votes
0 answers
1k views

403 AuthorizedOnly error when attempting apt-get upgrade on Ubuntu 12.04

For some reason, apt-get upgrade isn't working today. This is what I see when I try to upgrade : root@localhost:~# apt-get upgrade Reading package lists... Done Building dependency tree ...
sangfroid's user avatar
  • 193
0 votes
1 answer
313 views

Why debian library packages have numbers in their name? [closed]

I was installing some dependency libraries using apt and I was just wondering why some debian library packages have number in their names. For example: libleveldb1 (while development package is ...
Ali's user avatar
  • 131
0 votes
1 answer
223 views

How to get the Package-List of a debian/ubuntu package?

It's possible to view the Package-List of a debian/ubuntu package, using the package management tools like apt, aptitude or dpkg? I need to list the packages provided by a package, the list is ...
Eduardo's user avatar
  • 133
3 votes
1 answer
746 views

Which apt options for a safe automatic update

Related to my previous question, what apt options should one use when upgrading a package so that: if other packages would be removed as a result of the upgrade, apt will stop without touching ...
bronto's user avatar
  • 121
3 votes
1 answer
8k views

Using APT how can I install phpMyAdmin without 'apache2' and all of the other gumpf?

I have found that a lot of packages that get installed with APT tend to have many extra packages that get installed, but I am no sys-admin so I generally accept this. As I start to get to grips with ...
Check12's user avatar
  • 133
3 votes
1 answer
1k views

Using snapshots with reprepro to enable rollbacks

I'm using reprepro to maintain a Private Package Archive of internal packages. There is no straightforward way to keep multiple version of a package available using reprepro (see here), but it does ...
Old Pro's user avatar
  • 1,545
2 votes
2 answers
530 views

Search for installed unavailable packages (backports and 3rd party)

I would like to remove any packages that I installed from third party repositories. I recently installed some backports from PPA repositories, and I suspect one of them broke my Ubuntu 12.04 server ...
Jeroen Ooms's user avatar
  • 2,259
1 vote
2 answers
940 views

Can't find the archive-keyring on amazon instance

Im relatively new to this so please bear with me .. Im running an amazon instance with ubuntu 11.10 and after performing apt-get upgrade everything with my package manager went haywire if i try ...
user160870's user avatar
3 votes
2 answers
1k views

How to install package version that was removed from backports?

There is only one version of the libreoffice package in Debian Squeeze Backports: apt-cache madison libreoffice libreoffice | 1:3.5.4-7~bpo60+1 | http://backports.debian.org/debian-backports/ squeeze-...
Max Romanovsky's user avatar
1 vote
1 answer
461 views

Package pinning in Debian lenny

I need your advice as I don't know if I hit a bug, or I am misunderstanding something. On a Debian Lenny, I am trying to prevent the installation of two particular packages, when they are requested ...
bronto's user avatar
  • 121
17 votes
3 answers
3k views

How to install two packages that write the same file

I have two packages that each create /usr/bin/ffprobe. One of them is ffmpeg from the Deb Multimedia repository, while the other is ffmbc 0.7-rc5 built from source. The hand-rolled one is business-...
Joel E Salas's user avatar
  • 5,602
3 votes
2 answers
1k views

How to monitor package versions across multiple (Linux) servers

We use Puppet for installing the base level OS and packages, but our own application packages are deployed manually by individual developers. I'm looking for a web dashboard to view/monitor the ...
mrisher's user avatar
  • 401
14 votes
5 answers
10k views

How do I get a list of packages that "Provides" something" using dpkg?

I see that dpkg has a "Provides" field for packages. $ apt-cache show vim-tiny | grep Provides Provides: editor $ How do I know which packages provide i.e. "editor"?
Janus Troelsen's user avatar
0 votes
2 answers
953 views

getting error while installing subversion in ubuntu 9.04

sudo apt-get install subversion [sudo] password for hwsui: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean ...
kiran's user avatar
  • 1
8 votes
2 answers
1k views

Odd behavior of apt-get with post-inst instructions, and .desktop files

We have a number of hand-built (with fpm and jenkins) .deb files in a local Apt repository (reprepro). These .debs contain a .desktop file that will be picked up by xdg-desktop in a post-inst script. ...
Tom O'Connor's user avatar
  • 27.6k
18 votes
4 answers
26k views

Debian: How to use "apt-get install" without upgrading dependencies?

I already have a package B and want to install a new package A. The installation wants to modify B, but I don't want that to happen. I need to install the package A. It has the a dependency on ...
victorgp's user avatar
  • 541
2 votes
1 answer
1k views

What does "Provides:" mean in the output of apt-cache showpkg?

man apt-cache has this to say on the matter: showpkg displays information about the packages listed on the command line. Remaining arguments are package names. The available versions and reverse ...
Ansis Māliņš's user avatar
1 vote
2 answers
4k views

Why do I get dependency warnings/errors while removing nginx from Ubuntu?

root@ubuntus:~# apt-get remove nginx-light Reading package lists... Done Building dependency tree Reading state information... Done Package nginx-light is not installed, so not removed You ...
Kir's user avatar
  • 111
2 votes
1 answer
273 views

Debian aptitude: determine which repository a package is coming from? [closed]

In Aptitude, how can I tell where a package is coming from? I've set up my apt sources.list and preferences files for pinning, but I just want to make sure I'm not unknowingly upgrading to packages ...
PBJ's user avatar
  • 123
4 votes
1 answer
158 views

Managing myriad package repositories

On testing, development, and some other server and workstation environments, I use a variety of package repositories (with CentOS, for example, these include: remi, epel, rpmforge, jpackage, and ...
warren's user avatar
  • 19.1k
5 votes
1 answer
2k views

ubuntu server: SSH banner telling to update packages but nothing to update

When I connect to my Ubuntu 10.04.2 LTS server I get the following banner: 25 packages can be updated. 15 updates are security updates. However if I run package upgrades/updates nothing comes up: $ ...
Max's user avatar
  • 3,623
1 vote
3 answers
1k views

package won't install correctly using apt-get

Hey there, I'm currently having problems installing proftpd correctly. At some point the pakage was already installed but when I try to install don't get a selection screen to preconfigure the server ...
Flatlin3's user avatar
  • 193
1 vote
3 answers
1k views

Moving away from Dreamhost's Debian archive to Debian proper

This is currently the sources.list file with a hosted Dreamhost account running Debian # Generated by ndn-autoupdate deb http://debian.di.newdream.net/ lenny ndn deb http://debian.newdream.net/ ...
Evan Carroll's user avatar
  • 2,434