#StackBounty: #apt #nvidia #dpkg #dependencies #cuda Dependencies problem when trying to install nvidia-docker

Bounty: 50

I am trying to install nvidia-docker (https://github.com/NVIDIA/nvidia-docker) and when I run:

sudo apt-get install -y nvidia-container-toolkit

I get:

Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 cuda-drivers : Depends: nvidia-compute-utils-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-dkms-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-driver-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-kernel-common-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-kernel-source-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-utils-418 (>= 418.67) but it is not going to be installed
                Depends: xserver-xorg-video-nvidia-418 (>= 418.67) but it is not going to be installed
 libnvidia-gl-418 : Depends: libnvidia-gl-430 but it is not going to be installed
 libnvidia-ifr1-430 : Depends: libnvidia-gl-430 but it is not going to be installed
 nvidia-container-toolkit : Depends: libnvidia-container-tools (>= 0.1.0) but it is not going to be installed
                            Depends: libnvidia-container-tools (< 2.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Now if I do:

sudo apt --fix-broken install

I get:

Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  lib32gcc1 libc6-i386 ocl-icd-libopencl1 xserver-xorg-legacy
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libnvidia-cfg1-430 libnvidia-gl-430 nvidia-compute-utils-418 nvidia-compute-utils-430 nvidia-dkms-418 nvidia-dkms-430 nvidia-driver-418 nvidia-driver-430
  nvidia-kernel-common-418 nvidia-kernel-common-430 nvidia-kernel-source-418 nvidia-kernel-source-430 nvidia-utils-418 nvidia-utils-430
  xserver-xorg-video-nvidia-418 xserver-xorg-video-nvidia-430
Recommended packages:
  libnvidia-compute-430:i386 libnvidia-decode-430:i386 libnvidia-encode-430:i386 libnvidia-ifr1-430:i386 libnvidia-fbc1-430:i386 libnvidia-gl-430:i386
The following packages will be REMOVED:
  nvidia-418 nvidia-418-dev
The following NEW packages will be installed:
  libnvidia-cfg1-430 libnvidia-gl-430 nvidia-compute-utils-418 nvidia-compute-utils-430 nvidia-dkms-418 nvidia-dkms-430 nvidia-driver-418 nvidia-driver-430
  nvidia-kernel-common-418 nvidia-kernel-common-430 nvidia-kernel-source-418 nvidia-kernel-source-430 nvidia-utils-418 nvidia-utils-430
  xserver-xorg-video-nvidia-418 xserver-xorg-video-nvidia-430
0 upgraded, 16 newly installed, 2 to remove and 11 not upgraded.
6 not fully installed or removed.
Need to get 0 B/47.2 MB of archives.
After this operation, 228 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 117044 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-430_430.40-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-gl-430:amd64 (430.40-0ubuntu0~gpu18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-430_430.40-0ubuntu0~gpu18.04.1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/glvnd/egl_vendor.d/10_nvidia.json', which is also in package nvidia-418 418.67-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-gl-430_430.40-0ubuntu0~gpu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

and the problem doesn’t solve.

I’ve tried several things: install everything with the -f parameter, trying to purge the cuda drivers, install aptitude, but all of them give me dependencies error. For example, if I try to install aptitude, (with sudo apt-get install aptitude) I get:

Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 aptitude : Depends: aptitude-common (= 0.8.10-6ubuntu1) but it is not going to be installed
            Depends: libboost-filesystem1.65.1 but it is not going to be installed
            Depends: libboost-iostreams1.65.1 but it is not going to be installed
            Depends: libboost-system1.65.1 but it is not going to be installed
            Depends: libcwidget3v5 but it is not going to be installed
            Depends: libsigc++-2.0-0v5 (>= 2.8.0) but it is not going to be installed
            Depends: libxapian30 but it is not going to be installed
            Recommends: libparse-debianchangelog-perl but it is not going to be installed
 cuda-drivers : Depends: nvidia-compute-utils-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-dkms-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-driver-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-kernel-common-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-kernel-source-418 (>= 418.67) but it is not going to be installed
                Depends: nvidia-utils-418 (>= 418.67) but it is not going to be installed
                Depends: xserver-xorg-video-nvidia-418 (>= 418.67) but it is not going to be installed
 libnvidia-gl-418 : Depends: libnvidia-gl-430 but it is not going to be installed
 libnvidia-ifr1-430 : Depends: libnvidia-gl-430 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

which of course doesn’t get fixed with the suggested apt --fix-broken install.

I’ve got installed the CUDA drivers version 10.1:

Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Apr_24_19:10:27_PDT_2019
Cuda compilation tools, release 10.1, V10.1.168

if that helps.

Any help would be much appreciated. Thanks!


Get this bounty!!!

#StackBounty: #apt #upgrade #unattended-upgrades Unattended upgrade is ignoring some packages

Bounty: 100

I have unattended-upgrades set up, but some packages are not being auto-updated.

root@survey:/home/martin# apt update

root@survey:/home/martin# unattended-upgrade -v --dry-run
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=xenial, o=Ubuntu,a=xenial-updates, o=Ubuntu,a=xenial-security, o=UbuntuESM,a=xenial
No packages found that can be upgraded unattended and no pending auto-removals

root@survey:/home/martin# /usr/lib/update-notifier/apt-check -p
python-rfc3339
python-zope.hookable
python-configargparse
python-zope.component

The configuration of origins in /etc/apt/apt.conf.d/50unattended-upgrades:

Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}";
        "${distro_id}:${distro_codename}-updates";
        "${distro_id}:${distro_codename}-security";
        "${distro_id}ESM:${distro_codename}";
};

The pending packages come, to my best knowledge, from the official ubuntu repository (Launchpad link), so I don’t see a reason why it would not be picked up by unattended-upgrade.

The output of the command does say that

No packages found that can be upgraded unattended and no pending auto-removals.

Is there a case where a package is picked up by the tool, comes from an allowed source, but for some reason is not allowed to be upgraded unattended? What further steps can I do to find out why some packages are not eligible?


Get this bounty!!!

#StackBounty: #apt #18.04 #ppa Adding PPA on Ubuntu Bionic defaults to Eoan Repository

Bounty: 50

I am working on basing a new OS off of Ubuntu 18.04 Bionic, and in order to properly have the OS be recognized as a new distribution, I had to change /etc/lsb-release. In order to have it use PPAs, I had to add a file to /usr/share/python-apt/templates. This got it to add the PPAs, but, it defaults to Eoan repositories when I attempt to add PPAs.

You can see what I have in my GitHub repository here.

Is there some other file I need to add? Am I formatting the *.info file wrong? Is it something else?

Thanks in advance!

EDIT
Since this is a little off-topic here, I have copied this question to the Unix & Linux Stack Exchange. If you wish to answer this question, or seek the the answer, check there. Link to the new question: https://unix.stackexchange.com/q/530145/261787


Get this bounty!!!

#StackBounty: #apt #upgrade #updates #firmware #fwupd issues updating firmware using fwupdmgr update

Bounty: 50

I am using ubuntu 18 with a pc (asus motherboard)
and trying to update the firmware using this

After starting the service using those commands nothing happens

sudo apt update && sudo apt upgrade -y
sudo service fwupd start
sudo fwupdmgr refresh
sudo fwupdmgr update

Nothing happens

I also tried the following, and nothing happend

sudo fwupdmgr update -v
sudo fwupdmgr update --force
sudo fwupdmgr update --show-all-devices

Nothing happens, no output no nothing.
Ideas?


Get this bounty!!!

#StackBounty: #boot #apt #grub2 #kernel depmod: FATAL: could not load /boot/System.map-4.8.0-59-generic: No such file or directory

Bounty: 50

NOTE: I doubt this question is a duplicate of this because I don’t use DKMS


Edit: I cannot install, upgrade, or remove any packages. I NEED TO FIX THIS

Hello, on my server (recently restored from a horrific kernel issue), apt autoremove --purge gives this result:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-image-extra-4.8.0-59-generic
0 upgraded, 0 newly installed, 1 to remove and 36 not upgraded.
2 not fully installed or removed.
After this operation, 161 MB disk space will be freed.
(Reading database ... 264820 files and directories currently installed.)
Removing linux-image-extra-4.8.0-59-generic (4.8.0-59.64) ...
depmod: FATAL: could not load /boot/System.map-4.8.0-59-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-59-generic /boot/vmlinuz-4.8.0-59-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.8.0-59-generic /boot/vmlinuz-4.8.0-59-generic
update-initramfs: Generating /boot/initrd.img-4.8.0-59-generic
cp: failed to restore the default file creation context: Invalid argument
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.8.0-59-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.8.0-59-generic (--remove):
 installed linux-image-extra-4.8.0-59-generic package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-4.8.0-59-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

A line of interest here is this:

depmod: FATAL: could not load /boot/System.map-4.8.0-59-generic: No such file or directory

ls /boot:

0 LD-Server /etc/update-motd.d ls /boot
abi-4.15.0-42-generic     grub/                         System.map-4.15.0-42-generic  vmlinuz-4.15.0-43-generic
config-4.15.0-42-generic  initrd.img-4.15.0-42-generic  System.map-4.15.0-43-generic
config-4.15.0-43-generic  retpoline-4.15.0-42-generic   vmlinuz-4.15.0-42-generic

I see a System.map-4.15.0-42-generic and System.map-4.15.0-43-generic but no System.map-4.8.0-59-generic

My server seems to boot fine (it is running now after all), but I don’t exactly feel like testing it right now… Is there any way to fix this issue?


Get this bounty!!!

#StackBounty: #linux #debian #apt #software-updates #apt-mirror apt update has two failed index files and I can't find anything on …

Bounty: 100

I’m updating one of my systems and I get an error which I don’t know how to fix or what the problem is.

Here is the error:

E: Failed to fetch http://the.earth.li/debian/dists/stretch-updates/main/binary-i386/Packages  404  Not Found [IP: 46.43.34.31 80]
E: Failed to fetch http://the.earth.li/debian/dists/stretch/main/binary-i386/Packages  404  Not Found [IP: 46.43.34.31 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

root /home/kristjan # apt update                                                                                                                                                                                                    
Hit:1 http://ftp.debian.org/debian stretch-backports InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease                                                                                                                                                     
Hit:3 http://download.virtualbox.org/virtualbox/debian stretch InRelease                       
Hit:4 https://download.mono-project.com/repo/debian stable-stretch InRelease                          
Hit:5 http://www.deb-multimedia.org stretch InRelease                                                 
Hit:6 http://repo.steampowered.com/steam precise InRelease                                            
Hit:7 https://deb.torproject.org/torproject.org stretch InRelease
Ign:8 http://the.earth.li/debian stretch InRelease 
Get:9 http://the.earth.li/debian stretch-updates InRelease [91.0 kB]
Get:10 http://the.earth.li/debian stretch Release [118 kB]    
Get:11 http://the.earth.li/debian stretch-updates/main Sources.diff/Index [8,608 B]
Get:12 http://the.earth.li/debian stretch-updates/main i386 Packages.diff/Index [8,608 B]
Get:12 http://the.earth.li/debian stretch-updates/main i386 Packages.diff/Index [8,608 B]
Ign:12 http://the.earth.li/debian stretch-updates/main i386 Packages.diff/Index
Get:15 http://the.earth.li/debian stretch Release.gpg [2,434 B]
Get:16 http://the.earth.li/debian stretch-updates/main Sources 2019-02-21-2009.35.pdiff [10.2 kB]
Get:17 http://the.earth.li/debian stretch-updates/main Sources 2019-03-27-2010.32.pdiff [471 B]
Get:18 http://the.earth.li/debian stretch-updates/main Sources 2019-03-30-2008.27.pdiff [726 B]
Get:19 http://the.earth.li/debian stretch-updates/main amd64 Packages 2019-02-21-2009.35.pdiff [4,149 B]
Get:20 http://the.earth.li/debian stretch-updates/main amd64 Packages 2019-03-27-2010.32.pdiff [531 B]
Get:21 http://the.earth.li/debian stretch-updates/main amd64 Packages 2019-03-30-2008.27.pdiff [1,599 B]
Get:22 http://the.earth.li/debian stretch-updates/main Translation-en 2019-02-21-2009.35.pdiff [5,483 B]
Get:18 http://the.earth.li/debian stretch-updates/main Sources 2019-03-30-2008.27.pdiff [726 B]
Get:22 http://the.earth.li/debian stretch-updates/main Translation-en 2019-02-21-2009.35.pdiff [5,483 B]
Get:21 http://the.earth.li/debian stretch-updates/main amd64 Packages 2019-03-30-2008.27.pdiff [1,599 B]
Ign:23 http://the.earth.li/debian stretch-updates/main i386 Packages                                     
Get:24 http://the.earth.li/debian stretch/non-free Sources [79.4 kB]
Get:25 http://the.earth.li/debian stretch/main Sources [6,746 kB]
Get:26 http://the.earth.li/debian stretch/main i386 Packages [7,064 kB]
Get:26 http://the.earth.li/debian stretch/main i386 Packages [7,064 kB]
Get:26 http://the.earth.li/debian stretch/main i386 Packages [7,064 kB]
Get:26 http://the.earth.li/debian stretch/main i386 Packages [7,064 kB]
Ign:26 http://the.earth.li/debian stretch/main i386 Packages
Ign:31 http://the.earth.li/debian stretch/non-free i386 Packages
Ign:23 http://the.earth.li/debian stretch-updates/main i386 Packages
Ign:26 http://the.earth.li/debian stretch/main i386 Packages
Ign:31 http://the.earth.li/debian stretch/non-free i386 Packages
Err:23 http://the.earth.li/debian stretch-updates/main i386 Packages
  404  Not Found [IP: 46.43.34.31 80]
Ign:26 http://the.earth.li/debian stretch/main i386 Packages
Ign:31 http://the.earth.li/debian stretch/non-free i386 Packages
Err:26 http://the.earth.li/debian stretch/main i386 Packages
  404  Not Found [IP: 46.43.34.31 80]
Ign:31 http://the.earth.li/debian stretch/non-free i386 Packages
Fetched 235 kB in 1s (125 kB/s)
Reading package lists... Done
E: Failed to fetch http://the.earth.li/debian/dists/stretch-updates/main/binary-i386/Packages  404  Not Found [IP: 46.43.34.31 80]
E: Failed to fetch http://the.earth.li/debian/dists/stretch/main/binary-i386/Packages  404  Not Found [IP: 46.43.34.31 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Here is the system:

root /home/kristjan # cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Here is sources list:

root /home/kristjan # cat /etc/apt/sources.list
# 
#deb cdrom:[Debian GNU/Linux 9.4.0 _S
#deb cdrom:[Debian GNU/Linux 9.4.0 _S

deb http://www.deb-multimedia.org stretch main non-free

deb http://the.earth.li/debian/ stretch main non-free
deb-src http://the.earth.li/debian/ stretch main non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://the.earth.li/debian/ stretch-updates main contrib non-free
deb-src http://the.earth.li/debian/ stretch-updates main contrib non-free

# Virtualbox Oracle
deb http://download.virtualbox.org/virtualbox/debian stretch contrib


#Tor###########################97
deb https://deb.torproject.org/torproject.org stretch main
deb-src https://deb.torproject.org/torproject.org stretch main
# For the stable version.
#deb tor://sdscoq7snqtznauu.onion/torproject.org stretch main


########################### Backports testingittt
#deb http://ftp.debian.org/debian stretch-backports main

What is the problem here and how can I fix it?

UPDATE:

I have two servers both running Debian Stretch 9.9 and with the same debian servers for packages and updates but I can only update one of them, this one gives me this error:

~↓↓$↓↓ apt update
Hit:1 http://www.deb-multimedia.org stretch InRelease
Ign:2 http://the.earth.li/debian stretch InRelease                                                                                                        
Hit:3 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease                                                                                 
Get:4 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]                                                                      
Hit:6 http://download.virtualbox.org/virtualbox/debian stretch InRelease                                                                                  
Hit:7 http://ftp.debian.org/debian stretch-backports InRelease                                                                                            
Get:5 http://the.earth.li/debian stretch-updates InRelease [91.0 kB]                                                                                      
Hit:9 http://repo.mysql.com/apt/debian stretch InRelease                                                                                    
Hit:10 https://packages.microsoft.com/debian/9/prod stretch InRelease                                      
Hit:11 https://packages.microsoft.com/repos/vscode stable InRelease                  
Get:8 http://the.earth.li/debian stretch Release [118 kB]                
Hit:12 https://deb.torproject.org/torproject.org stretch InRelease                                     
Get:13 http://security.debian.org/debian-security stretch/updates/main Sources [205 kB]                 
Get:14 http://the.earth.li/debian stretch Release.gpg [2,434 B]                                                       
Get:15 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [492 kB]                                       
Get:16 http://the.earth.li/debian stretch-updates/main Sources [13.1 kB]            
Get:17 http://the.earth.li/debian stretch-updates/main amd64 Packages [27.2 kB]                            
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [27.2 kB]                             
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [27.2 kB]                                               
Hit:21 http://repo.steampowered.com/steam precise InRelease                                                                             
Ign:18 http://the.earth.li/debian stretch-updates/main i386 Packages                                       
Ign:22 http://the.earth.li/debian stretch-updates/main i386 Contents (deb)          
Get:23 http://security.debian.org/debian-security stretch/updates/main i386 Packages [494 kB]
Ign:18 http://the.earth.li/debian stretch-updates/main i386 Packages                                         
Hit:24 https://download.mono-project.com/repo/debian stable-stretch InRelease                                
Ign:25 https://apt.jenslody.de/stable stretch InRelease                                                       
Err:22 http://the.earth.li/debian stretch-updates/main i386 Contents (deb)          
  404  Not Found [IP: 46.43.34.31 80]
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]       
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]           
Hit:28 https://apt.jenslody.de/stable stretch Release                                    
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]
Get:18 http://the.earth.li/debian stretch-updates/main i386 Packages [169 kB]
Ign:18 http://the.earth.li/debian stretch-updates/main i386 Packages
Ign:36 http://the.earth.li/debian stretch/main i386 Packages
Get:37 http://the.earth.li/debian stretch/main i386 Contents (deb) [31.3 MB]
Get:38 http://the.earth.li/debian stretch/main amd64 Contents (deb) [31.4 MB]                                                                             
Get:39 http://the.earth.li/debian stretch/non-free amd64 Packages [78.3 kB]                                                                               
Ign:40 http://the.earth.li/debian stretch/non-free i386 Packages                                                                                          
Get:41 http://the.earth.li/debian stretch/non-free Translation-en [80.3 kB]                                                                               
Get:42 http://the.earth.li/debian stretch/non-free amd64 DEP-11 Metadata [7,180 B]                                                                        
Get:43 http://the.earth.li/debian stretch/non-free DEP-11 64x64 Icons [30.0 kB]                                                                           
Get:44 http://the.earth.li/debian stretch/non-free DEP-11 128x128 Icons [85.2 kB]                                                                         
Get:45 http://the.earth.li/debian stretch/non-free amd64 Contents (deb) [809 kB]                                                                          
Get:46 http://the.earth.li/debian stretch/non-free i386 Contents (deb) [750 kB]                                                                           
Ign:36 http://the.earth.li/debian stretch/main i386 Packages                                                                                              
Ign:40 http://the.earth.li/debian stretch/non-free i386 Packages                                                                                          
Ign:36 http://the.earth.li/debian stretch/main i386 Packages                                                                                              
Ign:40 http://the.earth.li/debian stretch/non-free i386 Packages                                                                                          
Err:36 http://the.earth.li/debian stretch/main i386 Packages                                                                                              
  404  Not Found [IP: 46.43.34.31 80]
Ign:40 http://the.earth.li/debian stretch/non-free i386 Packages                                                                                          
Fetched 44.7 MB in 13s (3,223 kB/s)                                                                                                                       
Reading package lists... Done
E: Failed to fetch http://the.earth.li/debian/dists/stretch-updates/main/Contents-i386  404  Not Found [IP: 46.43.34.31 80]
E: Failed to fetch http://the.earth.li/debian/dists/stretch/main/binary-i386/Packages  404  Not Found [IP: 46.43.34.31 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Here are other list files just for detail:

~↓↓$↓↓ ls -asil /etc/apt/sources.list.d/
total 36
1175229 4 drwxr-xr-x 2 root root 4096 May 18 09:52 .
1175056 4 drwxr-xr-x 6 root root 4096 May 23 01:54 ..
1178126 4 -rw-r--r-- 1 root root   67 May  2 08:18 linuxuprising-java.list
1178021 4 -rw-r--r-- 1 root root   75 Jan 17  2018 microsoft-prod.list
1177218 4 -rw-r--r-- 1 root root   70 Jul 12  2018 mono-official-stable.list
1176353 4 -rw-r--r-- 1 root root  712 May 13 06:23 mysql.list
1178155 4 -rw-r--r-- 1 root root  148 Jul 24  2018 steam.list
1178030 4 -rw-r--r-- 1 root root   64 Jul 21  2018 stretch-backports.list
1176782 4 -rw-r--r-- 1 root root   73 May 18 09:42 vscode.list

Here is sources.list on the other server:

deb http://www.deb-multimedia.org stretch main non-free

deb http://the.earth.li/debian/ stretch main non-free
deb-src http://the.earth.li/debian/ stretch main non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://the.earth.li/debian/ stretch-updates main contrib non-free
deb-src http://the.earth.li/debian/ stretch-updates main contrib non-free

# Virtualbox Oracle
deb http://download.virtualbox.org/virtualbox/debian stretch contrib


Get this bounty!!!

#StackBounty: #apt #18.04 #kernel #lubuntu #udev Overriding a kernel module blacklisting that's reinstated during apt full-upgrade

Bounty: 200

On an old laptop with Lubuntu 18.04, I have sisfb working properly. It’s not blacklisted at all and loads on boot.

The problem is that sisfb is normally blacklisted in /lib/modprobe.d/fbdev-blacklist.conf. While I can comment that line out, whenever the udev package is updated using the weekly GUI update reminder, /lib/modprobe.d/fbdev-blacklist.conf is overwritten. While I can use chattr +i /lib/modprobe.d/fbdev-blacklist.conf to block the update from overwriting the file, that causes udev updates to fail, which causes apt full-upgrade to fail. Since the laptop is for the use of someone new to computers, this isn’t a workable method.

How can I load sisfb properly during boot?


Get this bounty!!!

#StackBounty: #apt #upgrade #gnome-shell #19.04 No desktop on 19.04 after upgrading from 18.10

Bounty: 50

I have recently upgraded from 18.10 to 19.04, and the desktop is no longer available. The system boots to terminal.
If I try sudo apt install ubuntu-desktop, I get a long list of dependency errors:

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ubuntu-desktop : Depends: gdm3 but it is not going to be installed
                 Depends: gnome-control-center but it is not going to be installed
                 Depends: gnome-shell but it is not going to be installed
                 Depends: gnome-shell-extension-appindicator but it is not going to be installed
                 Depends: gnome-shell-extension-desktop-icons but it is not going to be installed
                 Depends: gnome-shell-extension-ubuntu-dock but it is not going to be installed
                 Depends: nautilus but it is not going to be installed
                 Depends: ubuntu-desktop-minimal but it is not going to be installed
                 Depends: ubuntu-release-upgrader-gtk but it is not going to be installed
                 Depends: ubuntu-session but it is not going to be installed
                 Depends: update-manager but it is not going to be installed
                 Depends: xorg but it is not going to be installed
                 Depends: yelp but it is not going to be installed
                 Depends: zenity
                 Recommends: cheese but it is not going to be installed
                 Recommends: deja-dup but it is not going to be installed
                 Recommends: gnome-calendar but it is not going to be installed
                 Recommends: gnome-getting-started-docs but it is not going to be installed
                 Recommends: gnome-initial-setup but it is not going to be installed
                 Recommends: gnome-todo but it is not going to be installed
                 Recommends: gvfs-fuse but it is not going to be installed
                 Recommends: nautilus-share but it is not going to be installed
                 Recommends: shotwell but it is not going to be installed
                 Recommends: totem but it is not going to be installed
                 Recommends: ubuntu-docs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have tried the followings to repair apt, but without success:

sudo apt clean
sudo apt update
sudo apt update --fix-missing
sudo apt upgrade
sudo apt dist-upgrade
sudo dpkg --configure -a
sudo apt install -f

Uncommented lines in /etc/apt/sources.list:

deb http://ch.archive.ubuntu.com/ubuntu/ disco main restricted
deb http://ch.archive.ubuntu.com/ubuntu/ disco-updates main restricted
deb http://ch.archive.ubuntu.com/ubuntu/ disco universe
deb http://ch.archive.ubuntu.com/ubuntu/ disco-updates universe
deb http://ch.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://ch.archive.ubuntu.com/ubuntu/ disco-updates multiverse
deb http://ch.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://security.ubuntu.com/ubuntu disco-security universe
deb http://security.ubuntu.com/ubuntu disco-security multiverse

Running startx results in:

/etc/X11/xinit/xserverrc: 3: exec: /usr/bin/X: not found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Output of uname -a:

Linux XPS13 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Any suggestions would be highly appreciated that could help repairing apt and ultimately bringing life into my desktop environment again!


Get this bounty!!!

#StackBounty: #apt #software-installation #dpkg #chromium #deb Install ungoogled-chromium using binaries

Bounty: 50

As a follow-up to someone else’s question here I was wondering if someone could help me by walking me through an install of ungoogled chromium via binaries. I am a total ubuntu newbie, and most of you will probably laugh but where do I start? Here are the binaries, as another user pointed out, in aforementioned question.

I tried building this locally following their instructions (github), but I think because I have an older machine (8gb RAM) I ran up against a wall, computer froze twice.

I also have tried dpkg-buildpackage -b -uc in the directory where I’ve downloaded all these binaries – and a ton of researching.

Which files do I need from that binaries list, where should I put them, and how to install from them?

Thanks for your time!


Get this bounty!!!

#StackBounty: #networking #apt #server #updates #proxy How to setup squid-deb-proxy and squid-deb-proxy-client to be more autonomous (t…

Bounty: 50

I have server with installed squid-deb-proxy. Let’s say that its IP is 10.13.3.7.
I have installed squid-deb-proxy-client on other machines (let’s name them clients). Server and clients are in the same network and run Ubuntu 16.04.6 LTS.

The server is working normally – I see both TCP_MEM_HIT/200 and TCP_HIT/200 in /var/log/squid-deb-proxy/access.log on the request of deb-packages.

Yesterday night I have downloaded all updates from one of the clients. So I expect that Squid Deb cache is filled with headers and packages.

On today morning there is no internet because of WAN (ISP) maintenance. I can’t ping anything outside the LAN. I can ping 10.13.3.7 from clients.

Thus when I run sudo apt update on clients I see the following messages:

0% [Working]
0% [Waiting for headers]
Err:N http://archive.ubuntu.com/ubuntu release InRelease
Connection failed [IP: 10.13.3.7 8000]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/release/InRelease Connection failed [IP: 10.13.3.7 8000]

W: Some index files failed to download. They have been ignored, or old ones used instead.

and same for sudo apt upgrade or sudo apt install ...:

0% [Waiting for headers]
Err:N http://archive.ubuntu.com/ubuntu xenial/pocket arch name arch version
Connection failed [IP: 10.13.3.7 8000]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/….deb Connection failed [IP: 10.13.3.7 8000]
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

Is it possible to work without internet and get packages from local squid-deb-proxy cache?


Get this bounty!!!