apt

Force non-interactive `apt-get install` to fail on config file conflict

Force non-interactive `apt-get install` to fail on config file conflict I’m doing unattended / non-interactive package installations via DEBIAN_FRONTEND=noninteractive apt-get install -y my_package This works as attended in most cases, but still gives me an interactive prompt if there is config file conflict, e.g. something like this: Configuration file ‘/etc/foo’ ==> Modified (by you or …

Total answers: 1

After Installing Python from Source, can I Uninstall the Building Dependencies?

After Installing Python from Source, can I Uninstall the Building Dependencies? I am working with very constrained embedded hardware where I cannot afford to have many packages installed; however, I need Python3.10, which I built from source (my apt only offers Python3.7). In doing so, I installed build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev …

Total answers: 1

Unable to locate package python3-cepces

Unable to locate package python3-cepces I’m trying to enroll Ubuntu 22.04.4 Pro Desktop for certificates from a Windows domain (ADCS). Using this approach with certmonger and its cepces plugin. I have a virtual machine installed from the official ISO in VirtualBox 7 for testing (and reverting snapshots). I also tried the Hyper-V "Quick Create" image. …

Total answers: 1

How to set up deb question priority with an apt flag?

How to set up deb question priority with an apt flag? We have the nice tool dpkg-reconfigure to re-ask install configuration questions of a single package. For example, by dpkg-reconfigure -plow something I can re-configure the package something, i.e. re-run its installation script. We also have the apt tool to download a package from a …

Total answers: 1

Unable to install any packages with apt in a brand new 24.04 installation because of libreoffice-help-zh-tw

Unable to install any packages with apt in a brand new 24.04 installation because of libreoffice-help-zh-tw I’ve never used Linux before and just installed Ubuntu 24.04. Edit: I used the ZFS file system when I installed. At the end of the installation, I got an error popup unable to securely remove ‘/usr/share/libreoffice/help/zh-TW/text/swriter/00/stylesmenu.html.dpkg-tmp’: Invalid exchange but …

Total answers: 1

I could not install php8.3 on my ubuntu 22.04, wrong ppa path

I could not install php8.3 on my ubuntu 22.04, wrong ppa path I recently tried to install the latest version of PHP which is 8.3.6 but before i purged php8.3.4 which i had before, now when I try in run sudo apt install php -y it says: Reading package lists… Done Building dependency tree… Done …

Total answers: 1

Unable to install strongswan in Ubuntu 22.04

Unable to install strongswan in Ubuntu 22.04 I am trying to re-install strongswan in ubuntu 22. Ran the following commands $ sudo apt update Hit:1 https://download.docker.com/linux/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease Reading package lists… Done Building dependency tree… Done Reading state information… …

Total answers: 1

Ubuntu + dependencies error

Ubuntu + dependencies error I have the following dependency problem. How can I solve it? Thank you The following packages have unfulfilled dependencies: zookeeper-1-2-2-0-46-server : Depends: zookeeper (= 3.8.3.1.2.2.0-46) but 3.8.4.1.2.2.0-138 is going to be installed E: Problems could not be corrected, you have retained broken packages. EDIT: Ubuntu 22.04 I’m trying to install zookeeper …

Total answers: 1

Troubles updating Debian 9 to newer release

Troubles updating Debian 9 to newer release I have a faceless root server mainly running a web service (Apache with php5), mail and VPN. It’s about time I get this updated to a stable and supported system version. I followed the Debian upgrade docs, but ran into minor(?) issues such as that while my system …

Total answers: 1

What happens to apt-tracked packages if I upgrade one manually?

What happens to apt-tracked packages if I upgrade one manually? I’m on Ubuntu server 22.04 (Jammy). I’m still a bit of an Ubuntu newbie and I wanted to apt upgrade a package that I have previously installed via apt and the relevant PPA. Turns out I can’t, apt can’t see the latest version. The reason …

Total answers: 1

"Apt" Upgrade behavior ubuntu 22.04

"Apt" Upgrade behavior ubuntu 22.04 Maybe a dumb question. I have two ubuntu server running the same services, the same operation system version, the same hardware, equal configuration – equal, because one as primary, the second as secondary server (DDNS, DHCP, etc.). That’s the only difference. For example: I see 10 packages can be upgraded, …

Total answers: 1

How to use Chromium browser without snap or flatpak in Ubuntu 24.04?

How to install Chromium browser without snap or flatpak in Ubuntu 24.04? I am looking for a way to install Chromium without snap or flatpak in Ubuntu 24.04. This answer would not work because Debian buster is too old. I thought about adding Debian bookworm, but Debian bookworm does not have t64 libraries, while Ubuntu …

Total answers: 1

Unable to upgrade ubuntu due to one security update. Please help

Unable to upgrade ubuntu due to one security update. Please help sudo apt update && sudo apt upgrade Get:1 https://deb.nodesource.com/node_20.x jammy InRelease [4,563 B] Hit:2 http://in.archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:4 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease Fetched 4,563 B in 1s (5,379 B/s) Reading package lists… Done Building dependency tree… Done …

Total answers: 1

Where is meson? build-essential or python3, python3-pip, python3-setuptools, python3-wheel, ninja-build packages are installed but it isn't here

Where is meson? build-essential or python3, python3-pip, python3-setuptools, python3-wheel, ninja-build packages are installed but it isn't here According to installation guides, having executed on my Debian 12: sudo apt-get install python3 python3-pip python3-setuptools python3-wheel ninja-build sudo apt install build-essential meson should be installed on my system. And if I do a sudo updatedb + locate …

Total answers: 1

updates to ubuntu 24.04

updates to ubuntu 24.04 When Ubuntu 24.04 comes out in about 2 days, there is probably going to be some important things that need fixing. Will the initial .iso file for the release be updated as needed to reflect such changes or, will it rely solely on "apt-get upgrade" for these initial corrections. Said another …

Total answers: 1

Check for non-interactive mode in Debian package maintainer scripts

Check for non-interactive mode in Debian package maintainer scripts If I’m writing a Debian package maintainer script (such as a pre-install script) for a package I create, how can I make the script determine if it is supposed to be running in non-interactive mode (e.g. if apt-get install was invoked with -y, and things like …

Total answers: 1