I can't figure out why apt or apt-get (seemingly) randomly hang on downloading packages - happened multiple times, no matter the repo component (main / contrib / non-free),
two samples:
Code: Select all
marek@desktop:~$ sudo apt install gnome-alsamixer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gconf-service gconf2 gconf2-common gnome-mime-data libart-2.0-2 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libgconf-2-4
libglade2-0 libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0
libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra liborbit-2-0 psmisc
Suggested packages:
gconf-defaults-service libbonobo2-bin libgnomevfs2-bin
The following NEW packages will be installed:
gconf-service gconf2 gconf2-common gnome-alsamixer gnome-mime-data libart-2.0-2 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common
libgconf-2-4 libglade2-0 libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common
libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra liborbit-2-0 psmisc
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,161 kB/8,276 kB of archives.
After this operation, 37.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian buster/main amd64 gconf2-common all 3.2.6-4.1 [1,039 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libgconf-2-4 amd64 3.2.6-4.1 [426 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 gconf-service amd64 3.2.6-4.1 [414 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 gconf2 amd64 3.2.6-4.1 [425 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libart-2.0-2 amd64 2.3.21-3 [66.8 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 libbonobo2-common all 2.32.1-3 [243 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 liborbit-2-0 amd64 1:2.14.19-4 [226 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 libbonobo2-0 amd64 2.32.1-3+b1 [281 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libglade2-0 amd64 1:2.6.4-2+b1 [82.2 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 gnome-mime-data all 2.18.0-2 [363 kB]
42% [10 gnome-mime-data 228 kB/363 kB 63%]^C
marek@desktop:~$
Code: Select all
marek@desktop:~$ sudo apt install musescore
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libqt5help5 musescore-common musescore-general-soundfont qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets
Suggested packages:
fluid-soundfont-gm timgm6mb-soundfont
The following NEW packages will be installed:
libqt5help5 musescore musescore-common musescore-general-soundfont qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.9 MB/44.0 MB of archives.
After this operation, 89.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian buster/main amd64 musescore-general-soundfont all 0.1.1-2 [32.2 MB]
12% [1 musescore-general-soundfont 4,457 kB/32.2 MB 14%]^C
marek@desktop:~$
Clean, autoclean, or computer restart do help - sometimes, can't figure out when.
Strangely, aptitude does work:
Code: Select all
marek@desktop:~$ sudo aptitude install musescore
The following NEW packages will be installed:
libqt5help5{a} musescore musescore-common{a} musescore-general-soundfont{a} qml-module-qtquick-dialogs{a} qml-module-qtquick-privatewidgets{a}
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 44.0 MB of archives. After unpacking 89.2 MB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://deb.debian.org/debian buster/main amd64 libqt5help5 amd64 5.10.1-2 [139 kB]
Get: 2 http://deb.debian.org/debian buster/main amd64 musescore-general-soundfont all 0.1.1-2 [32.2 MB]
Get: 3 http://deb.debian.org/debian buster/main amd64 musescore-common all 2.3.1+dfsg1-1 [3,346 kB]
Get: 4 http://deb.debian.org/debian buster/main amd64 qml-module-qtquick-privatewidgets amd64 5.10.1-2 [44.4 kB]
Get: 5 http://deb.debian.org/debian buster/main amd64 qml-module-qtquick-dialogs amd64 5.10.1-2 [128 kB]
Get: 6 http://deb.debian.org/debian buster/main amd64 musescore amd64 2.3.1+dfsg1-1 [8,236 kB]
Fetched 44.0 MB in 36s (1,207 kB/s)
Selecting previously unselected package libqt5help5:amd64.
(Reading database ... 199057 files and directories currently installed.)
Preparing to unpack .../0-libqt5help5_5.10.1-2_amd64.deb ...
Unpacking libqt5help5:amd64 (5.10.1-2) ...
Code: Select all
marek@desktop:~$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
deb http://deb.debian.org/debian-security buster/updates main
deb-src http://deb.debian.org/debian-security buster/updates main
deb http://deb.debian.org/debian/ stretch main contrib non-free
deb-src http://deb.debian.org/debian/ stretch main contrib non-free
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stretch-updates main contrib non-free
deb http://deb.debian.org/debian-security stretch/updates main
deb-src http://deb.debian.org/debian-security stretch/updates main
deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main