How to install xvfb and / or how to enable the package verification on Ubuntu 23.10

Aaron Rainbolt arraybolt3 at gmail.com
Thu Jan 25 19:59:34 UTC 2024


On 1/25/24 13:34, Mario Marietto wrote:
> root at marietto:/home/mario# apt update
>
>
> Get:1 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
> Get:2 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 
> kB]
> Err:1 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
>  Couldn't execute /usr/bin/apt-key to check 
> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_di
> sts_mantic-updates_InRelease
> Get:4 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu mantic 
> InRelease [23.8 kB]
> Err:4 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu mantic 
> InRelease
>  Couldn't execute /usr/bin/apt-key to check 
> /var/lib/apt/lists/partial/ppa.launchpadcontent.net_moz
> illateam_ppa_ubuntu_dists_mantic_InRelease
> Get:5 http://archive.ubuntu.com/ubuntu mantic InRelease [256 kB]
> Get:6 https://packages.mozilla.org/apt mozilla InRelease [1350 B]
> Err:6 https://packages.mozilla.org/apt mozilla InRelease
>  Couldn't execute /usr/bin/apt-key to check 
> /var/lib/apt/lists/partial/packages.mozilla.org_apt_dis
> ts_mozilla_InRelease
> Err:5 http://archive.ubuntu.com/ubuntu mantic InRelease
>  Couldn't execute /usr/bin/apt-key to check 
> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_di
> sts_mantic_InRelease
> Get:7 http://archive.ubuntu.com/ubuntu mantic-backports InRelease 
> [90.8 kB]
> Err:7 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
>  Couldn't execute /usr/bin/apt-key to check 
> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_di
> sts_mantic-backports_InRelease
> Err:2 http://security.ubuntu.com/ubuntu mantic-security InRelease
>  Couldn't execute /usr/bin/apt-key to check 
> /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_d
> ists_mantic-security_InRelease
> Get:3 http://netix.dl.sourceforge.net/project/ubuntuzilla/mozilla/apt 
> all InRelease [1027 B]
> Err:3 http://netix.dl.sourceforge.net/project/ubuntuzilla/mozilla/apt 
> all InRelease
>  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require 
> authentication?)
> Reading package lists... Done
> W: GPG error: http://archive.ubuntu.com/ubuntu mantic-updates 
> InRelease: Couldn't execute /usr/bin/a
> pt-key to check 
> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_mantic-updates_InRelease
> E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates 
> InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is 
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user 
> configuration details.
> W: GPG error: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu 
> mantic InRelease: Couldn't exe
> cute /usr/bin/apt-key to check 
> /var/lib/apt/lists/partial/ppa.launchpadcontent.net_mozillateam_ppa_u
> buntu_dists_mantic_InRelease
> E: The repository 
> 'https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu mantic 
> InRelease' is not
> signed.
> N: Updating from such a repository can't be done securely, and is 
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user 
> configuration details.
> W: GPG error: https://packages.mozilla.org/apt mozilla InRelease: 
> Couldn't execute /usr/bin/apt-key
> to check 
> /var/lib/apt/lists/partial/packages.mozilla.org_apt_dists_mozilla_InRelease
> E: The repository 'https://packages.mozilla.org/apt mozilla InRelease' 
> is not signed.
> N: Updating from such a repository can't be done securely, and is 
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user 
> configuration details.
> W: GPG error: http://archive.ubuntu.com/ubuntu mantic InRelease: 
> Couldn't execute /usr/bin/apt-key t
> o check 
> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_mantic_InRelease
> E: The repository 'http://archive.ubuntu.com/ubuntu mantic InRelease' 
> is not signed.
> N: Updating from such a repository can't be done securely, and is 
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user 
> configuration details.
> W: GPG error: http://archive.ubuntu.com/ubuntu mantic-backports 
> InRelease: Couldn't execute /usr/bin
> /apt-key to check 
> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_mantic-backports_InRele
> ase
> E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports 
> InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is 
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user 
> configuration details.
> W: GPG error: http://security.ubuntu.com/ubuntu mantic-security 
> InRelease: Couldn't execute /usr/bin
> /apt-key to check 
> /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_mantic-security_InRele
> ase
> E: The repository 'http://security.ubuntu.com/ubuntu mantic-security 
> InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is 
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user 
> configuration details.
> E: Failed to fetch 
> http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt/dists/all/InRele
> ase  Clearsigned file isn't valid, got 'NOSPLIT' (does the network 
> require authentication?)
> E: The repository 
> 'http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all 
> InRelease' i
> s not signed.
> N: Updating from such a repository can't be done securely, and is 
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user 
> configuration details.
OK that looks very broken. What happens if you run '/usr/bin/apt-key' in 
a terminal (without the quote marks)?
>
>
>
> On Thu, Jan 25, 2024 at 8:28 PM Aaron Rainbolt <arraybolt3 at gmail.com> 
> wrote:
>
>     On 1/25/24 12:36, Mario Marietto wrote:
>>     Hello.
>>
>>     I have two problems to fix :
>>
>>     1) how to install xvfb on Ubuntu 23.10
>>     2) how to enable the verification when I install the packages.
>>     You will understand everything reading below :
>>
>>     root at marietto:/home/mario# lsb_release -a
>>     No LSB modules are available.
>>     Distributor ID: Ubuntu
>>     Description:    Ubuntu 23.10
>>     Release:        23.10
>>     Codename:       mantic
>>
>>     root at marietto:/home/mario# apt install xvfb
>>
>>     Reading package lists... Done
>>     Building dependency tree... Done
>>     Reading state information... Done
>>     The following NEW packages will be installed:
>>      xvfb
>>     0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>>     Need to get 869 kB of archives.
>>     After this operation, 2211 kB of additional disk space will be used.
>>     WARNING: The following packages cannot be authenticated!
>>      xvfb
>>     Install these packages without verification? [y/N] y
>>
>>     Ign:1 http://security.ubuntu.com/ubuntu mantic-security/universe
>>     amd64 xvfb amd64 2:21.1.7-3ubuntu2.4
>>
>>     Err:1 http://archive.ubuntu.com/ubuntu mantic-security/universe
>>     amd64 xvfb amd64 2:21.1.7-3ubuntu2.4
>>     404  Not Found [IP: 91.189.91.83 80]
>>
>>     E: Failed to fetch
>>     http://archive.ubuntu.com/ubuntu/pool/universe/x/xorg-server/xvfb_21.1.7-3ubuntu2.4_amd64.deb
>>
>>     404  Not Found [IP: 91.189.91.83 80]
>>
>>     E: Unable to fetch some archives, maybe run apt-get update or try
>>     with --fix-missing?
>>
>>     thanks.
>     Your apt database on the local machine is out-of-date and it's
>     trying to download an old version of the xvfb package that no
>     longer exists. Run `sudo apt update`, then try `sudo apt install
>     xvfb` again.
>>
>>     -- 
>>     Mario.
>>
>     -- 
>     Aaron Rainbolt
>     Lubuntu Developer
>     Matrix: @arraybolt3:matrix.org  <http://matrix.org>
>     IRC: arraybolt3 on irc.libera.chat
>     GitHub:https://github.com/ArrayBolt3
>
>     -- 
>     ubuntu-users mailing list
>     ubuntu-users at lists.ubuntu.com
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
> -- 
> Mario.
>
-- 
Aaron Rainbolt
Lubuntu Developer
Matrix: @arraybolt3:matrix.org
IRC: arraybolt3 on irc.libera.chat
GitHub:https://github.com/ArrayBolt3

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240125/4889c017/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x84FC20D468BEFD4D.asc
Type: application/pgp-keys
Size: 3996 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240125/4889c017/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240125/4889c017/attachment-0001.sig>


More information about the ubuntu-users mailing list