Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[Software] Apt package manager not working properly

$
0
0
Hello guys.
So I've been encountering this issue with the apt package manager for some time. When I try to install any package or even remove a package I get this error.
As an example:
$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
util-linux-extra : Breaks: initscripts (< 3.08-2~) but 3.06-4 is to be installed
vlc : Depends: vlc-bin (= 1:3.0.20-dmo4) but it is not going to be installed
Depends: vlc-plugin-base (= 1:3.0.20-dmo4) but it is not going to be installed
Depends: vlc-plugin-qt (= 1:3.0.20-dmo4) but it is not going to be installed
Depends: vlc-plugin-video-output (= 1:3.0.20-dmo4) but it is not going to be installed
Depends: vlc-l10n (= 1:3.0.20-dmo4) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

What I have tried so far:
-I've tried the apt --fix-broken install' command which throws me this error :
apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
initscripts
The following packages will be upgraded:
initscripts
1 upgraded, 0 newly installed, 0 to remove and 1084 not upgraded.
Need to get 66.4 kB of archives.
After this operation, 21.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.am.debian.org/debian unstable/main i386 initscripts all 3.08-6 [66.4 kB]
Fetched 66.4 kB in 11s (6,246 B/s)
(Reading database ... 169458 files and directories currently installed.)
Preparing to unpack .../initscripts_3.08-6_all.deb ...
Unpacking initscripts (3.08-6) over (3.06-4) ...
dpkg: error processing archive /var/cache/apt/archives/initscripts_3.08-6_all.deb (--unpack):
trying to overwrite '/etc/init.d/udev', which is also in package eudev 252:3.2.12-1.0antix3
Errors were encountered while processing:
/var/cache/apt/archives/initscripts_3.08-6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-I have tried to reinstall initscripts but it gives me the previous error.
I have tried to manualy install the newer version of initscripts but it gives me this error :


Installing selected package please authenticate

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
util-linux-extra : Breaks: initscripts (< 3.08-2~) but 3.06-4 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Press any key to close
I have been having this problem for some time now and I couldn't find any post regarding this issue which is the reason I am posting this.
If it also helps I am using Antix linux(obviously a debian based distro) which is running on an i386 cpu(the amd c50 to be precise)
Any help will be appriecited.

Statistics: Posted by Farnam — 2024-02-25 08:42 — Replies 1 — Views 66



Viewing all articles
Browse latest Browse all 3474

Trending Articles