Where is the mc package

Brief overview: have an installed working debian 11 “Bullseye” on emmc of a BBB. So, I wish to install the standard pocket knife “mc”, did this often on other installations and it works fine.
In the first step, I did “apt update” to get the newest sources.list. It works, but I detected an error at the end, nevertheless it comes to an end. Tried to install “mc”, but I always got the message, that these package is obsolete or not existing, but included in a newer package… At debian.org, the mc is still existing. My BBB system has no other errors like not-working network connection or similar. Did I forget something? Where is mc??

It exists… Debian -- Details of package mc in bullseye

please share what error you are seeing?

debian@21-am335x-bbb:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
debian@21-am335x-bbb:~$ cat /etc/apt/sources.list | grep -v '#' | grep deb
deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] http://repos.rcn-ee.com/debian/ bullseye main
debian@21-am335x-bbb:~$ sudo apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://repos.rcn-ee.com/debian bullseye InRelease
Reading package lists... Done                 
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
debian@21-am335x-bbb:~$ sudo apt install mc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  mailcap mc-data mime-support
Suggested packages:
  arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python python-boto python-tz unar wimtools xpdf | pdf-viewer zip
The following NEW packages will be installed:
  mailcap mc mc-data mime-support
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,866 kB of archives.
After this operation, 7,452 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bullseye/main armhf mailcap all 3.69 [31.7 kB]
Get:2 http://deb.debian.org/debian bullseye/main armhf mime-support all 3.66 [10.9 kB]
Get:3 http://deb.debian.org/debian bullseye/main armhf mc-data all 3:4.8.26-1.1 [1,346 kB]
Get:4 http://deb.debian.org/debian bullseye/main armhf mc armhf 3:4.8.26-1.1 [478 kB]
Fetched 1,866 kB in 1s (2,443 kB/s)
Selecting previously unselected package mailcap.
(Reading database ... 51833 files and directories currently installed.)
Preparing to unpack .../archives/mailcap_3.69_all.deb ...
Unpacking mailcap (3.69) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.66_all.deb ...
Unpacking mime-support (3.66) ...
Selecting previously unselected package mc-data.
Preparing to unpack .../mc-data_3%3a4.8.26-1.1_all.deb ...
Unpacking mc-data (3:4.8.26-1.1) ...
Selecting previously unselected package mc.
Preparing to unpack .../mc_3%3a4.8.26-1.1_armhf.deb ...
Unpacking mc (3:4.8.26-1.1) ...
Setting up mc-data (3:4.8.26-1.1) ...
Setting up mailcap (3.69) ...
Setting up mime-support (3.66) ...
Setting up mc (3:4.8.26-1.1) ...
debian@21-am335x-bbb:~$

Regards,

Thank You, Robert, I tried it again: sudo apt update:
Get:1 Index of /debian-security bullseye-security InRelease [48.4 kB]
Get:2 Index of /debian bullseye InRelease [116 kB]
Get:3 Index of /debian bullseye-updates InRelease [44.1 kB]
Get:4 Index of /debian bullseye InRelease [3077 B]
Get:5 Index of /debian-security bullseye-security/main armhf Packages [254 kB]
Get:6 Index of /debian bullseye/main armhf Packages [7838 kB]
Get:7 Index of /debian bullseye/main armhf Contents (deb) [9303 kB]
Get:8 Index of /debian bullseye/main armhf Packages [1257 kB]
Get:9 Index of /debian bullseye/main all Contents (deb) [31.1 MB]

No errors detected, so I did: sudo apt install mc:
Reading package lists…
Building dependency tree…
Reading state information…
Package mc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

It looks different from your output. I have the newest deb version installed on eMMC. (It would nothing change if the boot would come from SD.

best regards, Ernst D

Is that : after mc just a typo, or did you include it in the apt install command ?

It’s only in my text here, not part of the command :slight_smile:

Please run this command and share exactly what it outputs:

sudo apt -o Debug::pkgProblemResolver=yes install mc

along with:

apt-cache policy

Regards,

Thak You Robert, I did it and look what I got:

  1. My sources.list before the operation
    deb Index of /debian bullseye main contrib non-free
    #deb-src Index of /debian bullseye main contrib non-free

deb Index of /debian-security bullseye-security main contrib non-free
#deb-src Index of /debian-security bullseye-security main contrib non-free

deb Index of /debian bullseye-updates main contrib non-free
#deb-src Index of /debian bullseye-updates main contrib non-free

kernel source (repos.rcn-ee.com) : GitHub - RobertCNelson/linux-stable-rcn-ee

#git clone GitHub - RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout uname -r -b tmp

deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] Index of /debian bullseye main
#deb-src [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] Index of /debian bullseye main
then, debug operation:
Reading package lists…
Building dependency tree…
Reading state information…
Package mc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

after this, I did apt -cache policy and got a empty message.

The only operations up from installation procedure on eMMC was to set up the keyboard to german language. There is also not a time difference problem, time is correct.

Miraculous :face_with_open_eyes_and_hand_over_mouth:

regards, Ernst D

In addition, I did these steps from Robert’s first post. The sources.list looks identical.

Then, I reproduced the error from my first attempt:

sudo apt update

Hit:1 Index of /debian-security bullseye-security InRelease
Get:2 Index of /debian bullseye InRelease [116 kB]
Hit:3 Index of /debian bullseye-updates InRelease
Hit:4 Index of /debian bullseye InRelease
Get:5 Index of /debian bullseye/main armhf Packages [7838 kB]
Get:6 Index of /debian bullseye/main armhf Contents (deb) [9303 kB]
Get:7 Index of /debian bullseye/main all Contents (deb) [31.1 MB]
Get:8 Index of /debian bullseye/contrib armhf Packages [40.1 kB]
Get:9 Index of /debian bullseye/contrib armhf Contents (deb) [29.2 kB]
Get:10 Index of /debian bullseye/contrib all Contents (deb) [57.3 kB]
Get:11 Index of /debian bullseye/non-free armhf Packages [56.0 kB]
Get:12 Index of /debian bullseye/non-free all Contents (deb) [888 kB]
Get:13 Index of /debian bullseye/non-free armhf Contents (deb) [13.5 kB]
Ign:5 Index of /debian bullseye/main armhf Packages
Get:5 Index of /debian bullseye/main armhf Packages [10.8 MB]
Ign:7 Index of /debian bullseye/main all Contents (deb)
Ign:7 Index of /debian bullseye/main all Contents (deb)
Err:7 Index of /debian bullseye/main all Contents (deb)
Write error - write (28: No space left on device) LZ4F: /var/lib/apt/lists/partial/deb.debian.org_debian_dists_bullseye_main_Contents-all.lz4 Write error (7792: Unspecified error code)
Reading package lists…

…the write error is unexpected. I installed bullseye on eMMC and the system says 437 MB free space, so it maybe an permission issue?

That explains it… no room left when running Apt update, thus no valid Apt cache to install mc…

Yes, it seems so. For explanation, I copied the df into these lines:

Filesystem Size Used Avail Use% Mounted on
udev 211M 0 211M 0% /dev
tmpfs 49M 1.5M 47M 4% /run
/dev/mmcblk1p1 3.6G 3.3G 23M 100% /
tmpfs 242M 0 242M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 49M 28K 49M 1% /run/user/1000

Empty some cache does not help. Now, I have to investigate what parts I can remove… or setup the system to SD.
Thank You, Robert.

regards, Ernst D

For future reference, Debian’s Bullseye apt cache takes about 317MB in default compression…

debian@21-am335x-bbb:~$ df -BM | grep mmc
/dev/mmcblk0p1                    29887M   3760M    24862M  14% /
debian@21-am335x-bbb:~$ sudo apt clean
debian@21-am335x-bbb:~$ df -BM | grep mmc
/dev/mmcblk0p1                    29887M   3343M    25280M  12% /

Regards,