Unable to install Synaptic package manager in a reload of UbuntuStudio 24.04

Since you’re in France, this should be fr.archive.ubuntu.com/ubuntu

@pavlos I edited the ubuntu.sources file to fr.archive.ubuntu.com/ubuntu but the sudo apt install synaptic output is unchanged.

Is there someplace else where locale needs to be specified? (I selected the locale on the world map during the installation process)

if you type locale, it will list your locale

Please post what @rubi1200 asked.

here is the link to synaptic .deb

https://packages.debian.org/sid/i386/synaptic/download

right click your repro and then click save as for the download

you will also need

libapt-pkg7.0_3.0.3_amd64.deb

then you can use the software install to install synaptic

best of luck Steve ..

Here is the full output of sudo apt update:

$ sudo apt update
[sudo] password for pnj: 
Get:1 http://fr.archive.ubuntu.com/ubuntu noble InRelease [256 kB]
Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1576 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu noble/main amd64 Packages [1401 kB]
Get:7 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [252 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB]
Get:9 http://security.ubuntu.com/ubuntu noble-security/main Icons (48x48) [13.4 kB]                      
Get:10 http://security.ubuntu.com/ubuntu noble-security/main Icons (64x64) [20.0 kB]                
Get:11 http://security.ubuntu.com/ubuntu noble-security/main Icons (64x64@2) [29 B]                 
Get:12 http://security.ubuntu.com/ubuntu noble-security/main Icons (128x128) [41.5 kB] 
Get:13 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [10.7 kB]           
Get:14 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2757 kB]             
Get:15 http://fr.archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]                       
Get:16 http://fr.archive.ubuntu.com/ubuntu noble/main amd64 Components [464 kB]                 
Get:17 http://fr.archive.ubuntu.com/ubuntu noble/main Icons (48x48) [106 kB]                              
Get:18 http://fr.archive.ubuntu.com/ubuntu noble/main Icons (64x64) [156 kB]                           
Get:19 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [642 kB]           
Get:20 http://fr.archive.ubuntu.com/ubuntu noble/main Icons (64x64@2) [21.8 kB]                    
Get:21 http://fr.archive.ubuntu.com/ubuntu noble/main Icons (128x128) [328 kB]                         
Get:22 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]          
Get:23 http://security.ubuntu.com/ubuntu noble-security/restricted Icons (48x48) [29 B]
Get:24 http://security.ubuntu.com/ubuntu noble-security/restricted Icons (64x64) [29 B]         
Get:25 http://security.ubuntu.com/ubuntu noble-security/restricted Icons (64x64@2) [29 B]       
Get:26 http://security.ubuntu.com/ubuntu noble-security/restricted Icons (128x128) [29 B]         
Get:27 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [544 B]   
Get:28 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1167 kB]
Get:29 http://fr.archive.ubuntu.com/ubuntu noble/main amd64 c-n-f Metadata [30.5 kB]             
Get:30 http://fr.archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93.9 kB]                      
Get:31 http://fr.archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]                  
Get:32 http://fr.archive.ubuntu.com/ubuntu noble/restricted amd64 c-n-f Metadata [416 B]           
Get:33 http://fr.archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]               
Get:34 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [225 kB]           
Get:35 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [74.3 kB]       
Get:36 http://security.ubuntu.com/ubuntu noble-security/universe Icons (48x48) [49.8 kB]             
Get:37 http://security.ubuntu.com/ubuntu noble-security/universe Icons (64x64) [78.3 kB]             
Get:38 http://security.ubuntu.com/ubuntu noble-security/universe Icons (64x64@2) [29 B]       
Get:39 http://security.ubuntu.com/ubuntu noble-security/universe Icons (128x128) [150 kB]
Get:40 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [22.8 kB] 
Get:41 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [28.8 kB]        
Get:42 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [6980 B]  
Get:43 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]      
Get:44 http://security.ubuntu.com/ubuntu noble-security/multiverse Icons (48x48) [29 B]           
Get:45 http://security.ubuntu.com/ubuntu noble-security/multiverse Icons (64x64) [29 B]
Get:46 http://security.ubuntu.com/ubuntu noble-security/multiverse Icons (64x64@2) [29 B]
Get:47 http://security.ubuntu.com/ubuntu noble-security/multiverse Icons (128x128) [29 B]
Get:48 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [396 B]
Get:49 http://fr.archive.ubuntu.com/ubuntu noble/universe Translation-en [5982 kB]                           
Get:50 http://fr.archive.ubuntu.com/ubuntu noble/universe amd64 Components [3871 kB]                         
Get:51 http://fr.archive.ubuntu.com/ubuntu noble/universe Icons (48x48) [3717 kB]                            
Get:52 http://fr.archive.ubuntu.com/ubuntu noble/universe Icons (64x64) [7747 kB]                            
Get:53 http://fr.archive.ubuntu.com/ubuntu noble/universe Icons (64x64@2) [75.0 kB]                          
Get:54 http://fr.archive.ubuntu.com/ubuntu noble/universe Icons (128x128) [12.4 MB]                          
Get:55 http://fr.archive.ubuntu.com/ubuntu noble/universe amd64 c-n-f Metadata [301 kB]                      
Get:56 http://fr.archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]                          
Get:57 http://fr.archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]                          
Get:58 http://fr.archive.ubuntu.com/ubuntu noble/multiverse amd64 Components [35.0 kB]                       
Get:59 http://fr.archive.ubuntu.com/ubuntu noble/multiverse Icons (48x48) [56.1 kB]                          
Get:60 http://fr.archive.ubuntu.com/ubuntu noble/multiverse Icons (64x64) [186 kB]                           
Get:61 http://fr.archive.ubuntu.com/ubuntu noble/multiverse Icons (64x64@2) [904 B]                          
Get:62 http://fr.archive.ubuntu.com/ubuntu noble/multiverse Icons (128x128) [279 kB]                         
Get:63 http://fr.archive.ubuntu.com/ubuntu noble/multiverse amd64 c-n-f Metadata [8328 B]                    
Get:64 http://fr.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1875 kB]                       
Get:65 http://fr.archive.ubuntu.com/ubuntu noble-updates/main Translation-en [342 kB]                        
Get:66 http://fr.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [177 kB]                      
Get:67 http://fr.archive.ubuntu.com/ubuntu noble-updates/main Icons (48x48) [36.0 kB]                        
Get:68 http://fr.archive.ubuntu.com/ubuntu noble-updates/main Icons (64x64) [51.0 kB]                        
Get:69 http://fr.archive.ubuntu.com/ubuntu noble-updates/main Icons (64x64@2) [29 B]                         
Get:70 http://fr.archive.ubuntu.com/ubuntu noble-updates/main Icons (128x128) [115 kB]                       
Get:71 http://fr.archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [16.9 kB]                 
Get:72 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2894 kB]                 
Get:73 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [671 kB]                  
Get:74 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]                 
Get:75 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted Icons (48x48) [29 B]                     
Get:76 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted Icons (64x64) [29 B]                     
Get:77 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted Icons (64x64@2) [29 B]                   
Get:78 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted Icons (128x128) [29 B]                   
Get:79 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 c-n-f Metadata [556 B]             
Get:80 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1663 kB]                   
Get:81 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [322 kB]                    
Get:82 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [386 kB]                  
Get:83 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe Icons (48x48) [236 kB]                     
Get:84 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe Icons (64x64) [373 kB]                     
Get:85 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe Icons (64x64@2) [29 B]                     
Get:86 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe Icons (128x128) [786 kB]                   
Get:87 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [34.2 kB]             
Get:88 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [32.1 kB]                 
Get:89 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [7520 B]                  
Get:90 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]                 
Get:91 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse Icons (48x48) [1867 B]                   
Get:92 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse Icons (64x64) [2497 B]                   
Get:93 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse Icons (64x64@2) [29 B]                   
Get:94 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse Icons (128x128) [29 B]                   
Get:95 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [500 B]             
Get:96 http://fr.archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [40.4 kB]                     
Get:97 http://fr.archive.ubuntu.com/ubuntu noble-backports/main Translation-en [9208 B]                      
Get:98 http://fr.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7380 B]                    
Get:99 http://fr.archive.ubuntu.com/ubuntu noble-backports/main Icons (48x48) [9537 B]                       
Get:100 http://fr.archive.ubuntu.com/ubuntu noble-backports/main Icons (64x64) [11.3 kB]                     
Get:101 http://fr.archive.ubuntu.com/ubuntu noble-backports/main Icons (64x64@2) [29 B]                      
Get:102 http://fr.archive.ubuntu.com/ubuntu noble-backports/main Icons (128x128) [21.2 kB]                   
Get:103 http://fr.archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [368 B]                
Get:104 http://fr.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]              
Get:105 http://fr.archive.ubuntu.com/ubuntu noble-backports/restricted Icons (48x48) [29 B]                  
Get:106 http://fr.archive.ubuntu.com/ubuntu noble-backports/restricted Icons (64x64) [29 B]                  
Get:107 http://fr.archive.ubuntu.com/ubuntu noble-backports/restricted Icons (64x64@2) [29 B]                
Get:108 http://fr.archive.ubuntu.com/ubuntu noble-backports/restricted Icons (128x128) [29 B]                
Get:109 http://fr.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 c-n-f Metadata [116 B]          
Get:110 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [30.7 kB]                
Get:111 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [18.2 kB]                
Get:112 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [13.2 kB]              
Get:113 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe Icons (48x48) [23.3 kB]                 
Get:114 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe Icons (64x64) [32.3 kB]                 
Get:115 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe Icons (64x64@2) [29 B]                  
Get:116 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe Icons (128x128) [55.6 kB]               
Get:117 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1480 B]           
Get:118 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [780 B]                
Get:119 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse Translation-en [372 B]                
Get:120 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]              
Get:121 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse Icons (48x48) [29 B]                  
Get:122 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse Icons (64x64) [29 B]                  
Get:123 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse Icons (64x64@2) [29 B]                
Get:124 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse Icons (128x128) [29 B]                
Get:125 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 c-n-f Metadata [116 B]          
Fetched 71.3 MB in 31s (2269 kB/s)                                                                           
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

and apt policy synaptic

apt policy synaptic synaptic: Installed: (none) Candidate: 0.91.3build4 Version table: 0.91.3build4 500 500 http://fr.archive.ubuntu.com/ubuntu noble/universe amd64 Packages and apt search synaptic

apt search synaptic
Sorting... Done
Full Text Search... Done
apt-cacher/noble 1.7.30 all
  Caching proxy server for Debian/Ubuntu/Devuan software repositories

packagekit/noble-updates,now 1.2.8-2ubuntu1.4 amd64 [installed,automatic]
  Provides a package management service

python3-brian/noble 2.5.4-4build1 all
  simulator for spiking neural networks

synaptic/noble 0.91.3build4 amd64
  Graphical package manager

xserver-xorg-input-libinput/noble-updates,now 1.4.0-1ubuntu24.04.1 amd64 [installed,automatic]
  X.Org X server -- libinput input driver

xserver-xorg-input-synaptics/noble 1.9.2-1ubuntu3 amd64
  Synaptics TouchPad driver for X.Org server

xserver-xorg-input-synaptics-dev/noble 1.9.2-1ubuntu3 all
  Synaptics TouchPad driver for X.Org server (development headers)

xserver-xorg-input-synaptics-dev-hwe-18.04/noble 3:14.6 amd64
  Transitional package for xserver-xorg-input-synaptics-dev-hwe-18.04

xserver-xorg-input-synaptics-hwe-18.04/noble 3:14.6 amd64
  Transitional package for xserver-xorg-input-synaptics-hwe-18.04

I have a feeling that, somehow, the universe repository, where synaptic resides, got disabled.

To reenable it, type sudo add-apt-repository universe.

Then try installing synaptic.

If that doesn’t work, then your installation is truly broken and you’re spending more time here trying to troubleshoot it than reinstall.

3 Likes

Curious, because that should show as a difference in the sources.

@philip-jackson, what is the output of:

grep -r '.*' /etc/apt/{sources.list,preferences}*

(mind the * at the end, too)

Also, have you tried running sudo apt install synaptic again? Because by the looks of it, it should install the “Candidate:” from the apt policy synaptic output.

2 Likes

Sorry all - I had a small emergency with one of the dogs escaped. Resolved now.

I just tried ‘sudo apt install synaptic’ again, and wonder of wonders, it has worked.

For interest, here is the output of the grep -r request:

 grep -r '.*' /etc/apt/{sources.list,preferences}*
/etc/apt/sources.list:# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:# newer versions of the distribution.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## Ubuntu distribution repository
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## The following settings can be adjusted to configure which packages to use from Ubuntu.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## Mirror your choices (except for URIs and Suites) in the security section below to
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## ensure timely security updates.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## Types: Append deb-src to enable the fetching of source package.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## URIs: A URL to the repository (you may add multiple URLs)
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## Suites: The following additional suites can be configured
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##   <name>-updates   - Major bug fix updates produced after the final release of the
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                      distribution.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##   <name>-backports - software from this repository may not have been tested as
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                      extensively as that contained in the main release, although it includes
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                      newer versions of some applications which may provide useful features.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                      Also, please note that software in backports WILL NOT receive any review
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                      or updates from the Ubuntu security team.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## Components: Aside from main, the following components can be added to the list
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##   restricted  - Software that may not be under a free license, or protected by patents.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##   universe    - Community maintained packages. Software in this repository receives maintenance
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                 from volunteers in the Ubuntu community, or a 10 year security maintenance
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                 commitment from Canonical when an Ubuntu Pro subscription is attached.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##   multiverse  - Community maintained of restricted. Software from this repository is
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                 ENTIRELY UNSUPPORTED by the Ubuntu team, and may not be under a free
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                 licence. Please satisfy yourself as to your rights to use the software.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                 Also, please note that software in multiverse WILL NOT receive any
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##                 review or updates from the Ubuntu security team.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:##
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## See the sources.list(5) manual page for further settings.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Types: deb
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:URIs: http://archive.ubuntu.com/ubuntu/
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Suites: noble noble-updates noble-backports
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Components: main universe restricted multiverse
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## Ubuntu security updates. Aside from URIs and Suites,
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:## this should mirror your choices in the previous section.
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Types: deb
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:URIs: http://security.ubuntu.com/ubuntu/
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Suites: noble-security
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Components: main universe restricted multiverse
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig:Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
/etc/apt/sources.list.d/ubuntu.sources:Types: deb
/etc/apt/sources.list.d/ubuntu.sources:URIs: http://fr.archive.ubuntu.com/ubuntu/
/etc/apt/sources.list.d/ubuntu.sources:Suites: noble noble-updates noble-backports
/etc/apt/sources.list.d/ubuntu.sources:Components: main restricted universe multiverse
/etc/apt/sources.list.d/ubuntu.sources:Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
/etc/apt/sources.list.d/ubuntu.sources:
/etc/apt/sources.list.d/ubuntu.sources:Types: deb
/etc/apt/sources.list.d/ubuntu.sources:URIs: http://security.ubuntu.com/ubuntu/
/etc/apt/sources.list.d/ubuntu.sources:Suites: noble-security
/etc/apt/sources.list.d/ubuntu.sources:Components: main restricted universe multiverse
/etc/apt/sources.list.d/ubuntu.sources:Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
/etc/apt/sources.list.d/dvd.list:#deb http://archive.ubuntu.com/ubuntu/ noble universe multiverse
/etc/apt/sources.list.d/dvd.list:#deb http://archive.ubuntu.com/ubuntu/ noble-updates universe multiverse
/etc/apt/sources.list.d/dvd.list:#deb http://security.ubuntu.com/ubuntu/ noble-security universe multiverse
/etc/apt/preferences.d/ubuntu-pro-esm-apps:# This file is used by Ubuntu Pro and supplied by the ubuntu-pro-client
/etc/apt/preferences.d/ubuntu-pro-esm-apps:# package. It has no effect if Ubuntu Pro services are not in use since no
/etc/apt/preferences.d/ubuntu-pro-esm-apps:# other apt repositories are expected to match o=UbuntuESMApps.
/etc/apt/preferences.d/ubuntu-pro-esm-apps:#
/etc/apt/preferences.d/ubuntu-pro-esm-apps:# Pin esm-apps packages to a slightly higher value than the default,
/etc/apt/preferences.d/ubuntu-pro-esm-apps:# so those are preferred over a non-ESM package from the archive when the
/etc/apt/preferences.d/ubuntu-pro-esm-apps:# service is enabled.
/etc/apt/preferences.d/ubuntu-pro-esm-apps:
/etc/apt/preferences.d/ubuntu-pro-esm-apps:Package: *
/etc/apt/preferences.d/ubuntu-pro-esm-apps:Pin: release o=UbuntuESMApps
/etc/apt/preferences.d/ubuntu-pro-esm-apps:Pin-Priority: 510
/etc/apt/preferences.d/ubuntu-pro-esm-infra:# This file is used by Ubuntu Pro and supplied by the ubuntu-pro-client
/etc/apt/preferences.d/ubuntu-pro-esm-infra:# package. It has no effect if Ubuntu Pro services are not in use since no
/etc/apt/preferences.d/ubuntu-pro-esm-infra:# other apt repositories are expected to match o=UbuntuESM.
/etc/apt/preferences.d/ubuntu-pro-esm-infra:#
/etc/apt/preferences.d/ubuntu-pro-esm-infra:# Pin esm-infra packages to a slightly higher value than the default,
/etc/apt/preferences.d/ubuntu-pro-esm-infra:# so those are preferred over a non-ESM package from the archive when the
/etc/apt/preferences.d/ubuntu-pro-esm-infra:# service is enabled.
/etc/apt/preferences.d/ubuntu-pro-esm-infra:Package: *
/etc/apt/preferences.d/ubuntu-pro-esm-infra:Pin: release o=UbuntuESM
/etc/apt/preferences.d/ubuntu-pro-esm-infra:Pin-Priority: 510
1 Like

And on the subject of locale, here is the output:

locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

I don’t understand the implications of the first 3 lines. But the rest looks good.

Happy to hear the issue is resolved (and the dog is safe).

Please mark the relevant post as the solution so the community knows the issue is closed.

Thanks

I think, I might have an explanation. Since you chose to do a pure offline installation, you most probably ended up with a system consisting purely, or at least primarily, out of packages from main and restricted, and the apt cache had no update yet, so the package could not be found then. After sudo apt update that was fixed and hence it’s working now.

BTW, if you want to make extra sure that everything installed correctly, at least in terms of file integrity, you can run:

sudo apt install debsums
sudo debsum -c | tee debsums.log

I do remember that I once did have corrupted files right after installation, but that was ages ago.

The debsums seems to go ok, but with some warnings about locale:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

I’ve looked in the UbuntuStudio GUI Settings, my time zone is correct and my language too. The pop-up world clock at bottom right of the screen show me in the Paris timezone with the correct time.

Running locale gives those same errors:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Any ideas for how to get rid of those?

Other weird thing is that as I type into Firefox, everything is underlined as the spellchecker thinks I’m using French even though Firefox settings is set to English. That never used to happen. Another consequence of the purely offline installation, maybe.

sudo dpkg-reconfigure locales
select which, probably en_GB
reboot, check locales again.

For Firefox,
exit from Firefox, get back in,
check in General | Settings not to use spellcheck

Yes, the language packs for Ubuntu only get installed when doing an online installation, IIRC. You may want to install the en-GB dictionary and language packs in Firefox, by opening about:addons, you’ll get it from there. Also, in vanilla Ubuntu there used to be some tool to install system-wide language packs, but I haven’t done this in a long time, but I guess searching for lang or l18n in whatever the app menu of UbuntuStudio is should turn it up, if such a thing still exists. It used to be a somewhat mandatory post-install step, because somehow not the whole range of apps had localization until that was done.

It gets worse. Today, linux wouldn’t boot - stopped after the motherboard splash screen with (initramfs)_ prompt and an indication that ‘help’ would provide a list of resident commands.

I tried again and at the ubuntu login I selected ‘advanced’ and ‘recovery’. A whole lot of stuff flashed past before ending in an indication that the root system of /dev/sdb2 (the OS system disk) was corrupted and needs a manual fsck.

Did ‘fsck /dev/sdb2 and accepted the corrections offered, then rebooted.

This time it rebooted ok but the screen resolution is unusable. It is stuck at 1024x768 (4:3) when it should be 2560x1440 (16:9). The info button says:

“1024x768(4:3) is the only resolution supported by this display. Using unsupported resolutions is possible in the PlasmaX11 session but they were never guaranteed to work and are not available in this Plasma Wayland session.”

I remember back in earlier LTS distros when UbuntuStudio went to Wayland, I had a problem with a graphics card which I removed and went back to using the motherboard’s build in graphics and using X11 instead of Wayland.

Further, thunderbird which was a fully functioning snap yesterday is no longer there. ‘snap list’ shows the firmware-updater and thunderbird are both ‘broken’.

I’m calling it quits with this box - it must be 10 years old. I already have the friendly neighbourhood computer shop looking to sourcing replacents.

Thanks for all your help, guys.

I’m not sure if mounting your own /home causes issues. There are many dot dirs that may conflict with a new installation.

If snaps are broken, sudo snap refresh should update to the latest snaps.

Maybe install both studio and /home on one disk, say 1TB so you have plenty of room.

You haven’t even tried to find the error yet, so I think quitting would be premature. Try:

journalctl -b -p err

You can select boot with -b, e.g. -b -1 means last boot. If -p err doesn’t help increase verbosity (warning, notice, debug). See man journalctl for more help.

It may just be a failing device which needs replacing. You did mention a “recent mishap” but never elaborated on it further.

I think you may want to check the root device’s health with sudo smartctl -x /dev/disk/by-id/<device> (sudo apt install smartmontools). That hierarchy provides unique and somewhat easily identifiable links to the real devices nodes, like <interface, e.g. ata>-<vendor>-<MN>-<SN>, because it is not guaranteed that / will always be on /dev/sdb2, it could be sda2 on the very next boot. Just use the link without -part* suffix. You should also make sure to never use device nodes like /dev/sdb2 in /etc/fstab for that reason; best use the partition UUID or set and use a partition/filesystem label.
You can also run selftests with smartctl, e.g. sudo smartctl -t short /dev/disk/by-id/<id>, and check back later with sudo smartctl -l short /dev/...

Seeing that you are stuck in VESA mode, the bootloader might now default to recovery mode, which may be set to extra safe graphics settings, like nomodeset. You can have a look at cat /proc/cmdline; but that’s also the second line of the boot log of journalctl -b.

That’s no different to the first run of any app after an upgrade to a new major version. All configuration and state is in $HOME so apps will never know the difference from last run. It’s also a very common setup, only mildly more advanced than putting everything (except /boot) on one / partition. The only thing to look out for is user id differences, if one’s user id wasn’t 1000 on the now vanished installation. Then a simple sudo chown -R $USER:$USER $HOME should fix that.

And @pavlos - you have a point about the clutter accumulating on the separate /home disk. I started keeping my /home on a separate hdd following advice on these forums several years ago, and it has worked fine up to present.

Your reminder that I never mentioned the ‘earlier mishap’ perhaps deserves some attention. Quite suddenly, I found that I was unable to access any website, they all indicated “unable to contact the server”. This was true on Firefox, Chrome and Thunderbird couldn’t get the emails. The Windows box and my phone indicated that all those sites were up and running. The linux box was connected to wifi and attmpting to use a browser showed up and down activity on the wifi.

This persisted after reboots so I took the box in to the computer guy who confirmed the behaviour but couldn’t identify a fault which could be fixed - so we decided that a re-install was probably called for.

Given the date, 26.04LTS isn’t yet available so I went for a reload of 24.04.4 - and the rest of the story is in this thread.

Update: after wiping away my tears, I tried a last reboot and lo and behold, working fine again. But life can’t go on like that so the new machine is being specified. I think I’ll start with a fresh /home hard disk, to get rid of old unwanted configs.

Frankly, that’s probably the worst place to start. Old configs are hardly ever unwanted; you wouldn’t believe how many settings you’d have to redo to get back to the same config state you’ve had accumulate over a decade.
And you’d still just taking stabs in the dark. How about trying to investigate the true cause; see my previous post, journalctl is your best friend you didn’t know you had. :wink:

If you want to determine if an old config causes problems, which I very much doubt, you can just add a new user, let’s call it “foo”, which has a squeaky clean $HOME:

$ sudo useradd --create-home -G $(groups | tr ' ' , | cut -d, -f2-) foo

This command adds that new user and puts it in the same groups as your normal user account. The groups are necessary, because only the first account created on Ubuntu systems gets special rights, e.g. by being member of the sudo group.
Since that $(...) pipeline may not be obvious to the uninitiated, let me elaborate a little. The -G option of useradd expects a comma-separated list of groups, but the groups command only output a space-separated list, hence the tr ' ' , translates the spaces to commas. And, since the first group of a normal user, the so-called “user group”, is always named after the user, we don’t want that to be part of the list for the newly created one, hence the cut -d, -f2-, which copies the list from the second field to the end. And lastly, the $(...) is to reuse the output of that command pipeline as a normal string, so it can be used as the -G argument.

But our new user won’t be able to login just yet, for it is a locked account without a password, so let’s fix that:

$ sudo passwd foo

Then just login as that new user and see if your problems persist.

Again, journalctl is your best friend when it comes to troubleshooting. In a similar vein, the Tab key is your best friend on the command line, for it can (semi-)autocomplete almost anything; when in doubt, hit Tab, maybe twice to get suggestions.

And, BTW, you don’t need to throw away a complete hard disk just to get rid of some old configs. Deleting them will do just fine. :wink: