自学内容网 自学内容网

20241128解决Ubuntu20.04安装libesd0-dev异常的问题

20241128解决Ubuntu20.04安装libesd0-dev异常的问题
2024/11/28 16:36


缘起:中科创达的高通CM6125开发板的Android10的编译环境需要。

安装异常:
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ sudo apt-get install libesd0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libesd0-dev
rootroot@rootroot-X99-Turbo:~$ 

rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ sudo apt install libesd0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libesd0-dev
rootroot@rootroot-X99-Turbo:~$ 


【精简的LOG】更新源,并更新apt:
rootroot@rootroot-X99-Turbo:~$ cd /etc/apt/
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ ll
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo cp sources.list sources.list.bak1
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo chmod 777 sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo vi sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo cp sources.list.bak1 sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:~$ sudo apt-get update
rootroot@rootroot-X99-Turbo:~$ sudo apt install libesd0-dev


参考资料:
百度:E: Unable to locate package libesd0-dev

https://blog.csdn.net/sophiahongku/article/details/106522495
ubuntu 18.04无法安装软件libesd0-dev

逍遥佳子 于 2020-06-03 13:46:24 发布


ubuntu 18.04无法安装软件libesd0-dev,但是老版本ubuntu没有问题…
提示 :E: Unable to locate package libesd0-dev

// 打开/etc/apt/sources.list
sudo nano /etc/apt/sources.list
//在最后粘贴以下两行
deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe
//ctrl +s 保存,ctrl + x退出
//在terminal执行
sudo apt-get update && sudo apt-get install libesd0-dev

Done.


详细LOG:
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ cd /etc/apt/
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ ll
total 40
drwxr-xr-x   7 root root  4096 11月 28 15:11 ./
drwxr-xr-x 137 root root 12288 11月 28 16:04 ../
drwxr-xr-x   2 root root  4096 11月 28 15:11 apt.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 auth.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 preferences.d/
-rw-rw-r--   1 root root  3158 11月 28 15:11 sources.list
drwxr-xr-x   2 root root  4096 4月   9  2020 sources.list.d/
drwxr-xr-x   2 root root  4096 3月  16  2023 trusted.gpg.d/
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo cp sources.list sources.list.bak1
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo ^C sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo chmod 777 sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo vi sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 

rootroot@rootroot-X99-Turbo:/etc/apt$ cat sources.list
#deb cdrom:[Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual
.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ ll
total 44
drwxr-xr-x   7 root root  4096 11月 28 16:06 ./
drwxr-xr-x 137 root root 12288 11月 28 16:04 ../
drwxr-xr-x   2 root root  4096 11月 28 15:11 apt.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 auth.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 preferences.d/
-rwxrwxrwx   1 root root  3287 11月 28 16:06 sources.list*
-rw-r--r--   1 root root  3158 11月 28 16:05 sources.list.bak1
drwxr-xr-x   2 root root  4096 4月   9  2020 sources.list.d/
drwxr-xr-x   2 root root  4096 3月  16  2023 trusted.gpg.d/
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo cp sources.list.bak1 sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ ll
total 44
drwxr-xr-x   7 root root  4096 11月 28 16:06 ./
drwxr-xr-x 137 root root 12288 11月 28 16:04 ../
drwxr-xr-x   2 root root  4096 11月 28 15:11 apt.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 auth.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 preferences.d/
-rwxrwxrwx   1 root root  3158 11月 28 16:07 sources.list*
-rw-r--r--   1 root root  3158 11月 28 16:05 sources.list.bak1
drwxr-xr-x   2 root root  4096 4月   9  2020 sources.list.d/
drwxr-xr-x   2 root root  4096 3月  16  2023 trusted.gpg.d/
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ cat sources.list
#deb cdrom:[Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo " " >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ ll
total 44
drwxr-xr-x   7 root root  4096 11月 28 16:06 ./
drwxr-xr-x 137 root root 12288 11月 28 16:04 ../
drwxr-xr-x   2 root root  4096 11月 28 15:11 apt.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 auth.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 preferences.d/
-rwxrwxrwx   1 root root  3289 11月 28 16:07 sources.list*
-rw-r--r--   1 root root  3158 11月 28 16:05 sources.list.bak1
drwxr-xr-x   2 root root  4096 4月   9  2020 sources.list.d/
drwxr-xr-x   2 root root  4096 3月  16  2023 trusted.gpg.d/
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ cat sources.list
#deb cdrom:[Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

 
deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ vi sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo cp sources.list.bak1 sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ sudo echo "" >> sources.list
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ cat sources.list
#deb cdrom:[Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe

rootroot@rootroot-X99-Turbo:/etc/apt$ ll
total 44
drwxr-xr-x   7 root root  4096 11月 28 16:06 ./
drwxr-xr-x 137 root root 12288 11月 28 16:04 ../
drwxr-xr-x   2 root root  4096 11月 28 15:11 apt.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 auth.conf.d/
drwxr-xr-x   2 root root  4096 4月   9  2020 preferences.d/
-rwxrwxrwx   1 root root  3288 11月 28 16:09 sources.list*
-rw-r--r--   1 root root  3158 11月 28 16:05 sources.list.bak1
drwxr-xr-x   2 root root  4096 4月   9  2020 sources.list.d/
drwxr-xr-x   2 root root  4096 3月  16  2023 trusted.gpg.d/
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ 
rootroot@rootroot-X99-Turbo:/etc/apt$ cd ~
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ sudo apt-get update
Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                                                                                                
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease                                                                                                                                                
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease                                                                                                                                        
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease                                                                                                                                      
Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]                                                                                                                                          
Get:7 http://us.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]                                                                                                                                    
Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]                                                                                                                                 
Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB]                                                                                                                                  
Get:10 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]                                                                                                                                  
Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]                                                                                                                           
Get:12 http://us.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]                                                                                                                              
Get:13 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB]                                                                                                                             
Get:14 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]                                                                                                                            
Get:15 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]                                                                                                                            
Get:16 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]                                                                                                                     
Get:17 http://us.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]                                                                                                                        
Fetched 43.2 MB in 2min 5s (346 kB/s)                                                                                                                                                                           
Can not add an empty (zero-length) key to the cache
Reading package lists... Done
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ sudo apt install libesd0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libgstreamer-plugins-bad1.0-0 libnvidia-cfg1-535 libnvidia-common-535 libnvidia-decode-535 libnvidia-encode-535 libnvidia-extra-535 libnvidia-fbc1-535
  libnvidia-gl-535 libva-wayland2 libx11-xcb1:i386 libxnvctrl0 nvidia-compute-utils-535 nvidia-kernel-source-535 nvidia-settings nvidia-utils-535 screen-resolution-extra xserver-xorg-video-nvidia-535
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  esound-common libaudiofile-dev libaudiofile1 libesd0 multiarch-support
Suggested packages:
  pulseaudio-esound-compat
The following NEW packages will be installed:
  esound-common libaudiofile-dev libaudiofile1 libesd0 libesd0-dev multiarch-support
0 upgraded, 6 newly installed, 0 to remove and 319 not upgraded.
Need to get 188 kB of archives.
After this operation, 953 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 multiarch-support amd64 2.23-0ubuntu3 [6,824 B]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 esound-common all 0.2.41-11 [9,558 B]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libesd0 amd64 0.2.41-11 [16.7 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libesd0-dev amd64 0.2.41-11 [24.4 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libaudiofile1 amd64 0.3.6-5+deb10u1build0.20.04.1 [95.4 kB]                                                                       
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 libaudiofile-dev amd64 0.3.6-5+deb10u1build0.20.04.1 [35.1 kB]
Fetched 188 kB in 21s (8,933 B/s)          
Selecting previously unselected package multiarch-support.
(Reading database ... 199159 files and directories currently installed.)
Preparing to unpack .../multiarch-support_2.23-0ubuntu3_amd64.deb ...
Unpacking multiarch-support (2.23-0ubuntu3) ...
Selecting previously unselected package libaudiofile1:amd64.
Preparing to unpack .../libaudiofile1_0.3.6-5+deb10u1build0.20.04.1_amd64.deb ...
Unpacking libaudiofile1:amd64 (0.3.6-5+deb10u1build0.20.04.1) ...
Selecting previously unselected package esound-common.
Preparing to unpack .../esound-common_0.2.41-11_all.deb ...
Unpacking esound-common (0.2.41-11) ...
Setting up multiarch-support (2.23-0ubuntu3) ...
Selecting previously unselected package libesd0:amd64.
(Reading database ... 199184 files and directories currently installed.)
Preparing to unpack .../libesd0_0.2.41-11_amd64.deb ...
Unpacking libesd0:amd64 (0.2.41-11) ...
Selecting previously unselected package libaudiofile-dev:amd64.
Preparing to unpack .../libaudiofile-dev_0.3.6-5+deb10u1build0.20.04.1_amd64.deb ...
Unpacking libaudiofile-dev:amd64 (0.3.6-5+deb10u1build0.20.04.1) ...
Selecting previously unselected package libesd0-dev.
Preparing to unpack .../libesd0-dev_0.2.41-11_amd64.deb ...
Unpacking libesd0-dev (0.2.41-11) ...
Setting up libaudiofile1:amd64 (0.3.6-5+deb10u1build0.20.04.1) ...
Setting up libaudiofile-dev:amd64 (0.3.6-5+deb10u1build0.20.04.1) ...
Setting up esound-common (0.2.41-11) ...
Setting up libesd0:amd64 (0.2.41-11) ...
Setting up libesd0-dev (0.2.41-11) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
rootroot@rootroot-X99-Turbo:~$ 

rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ sudo apt install libwxgtk3.0-gtk3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libgstreamer-plugins-bad1.0-0 libnvidia-cfg1-535 libnvidia-common-535 libnvidia-decode-535 libnvidia-encode-535 libnvidia-extra-535 libnvidia-fbc1-535
  libnvidia-gl-535 libva-wayland2 libx11-xcb1:i386 libxnvctrl0 nvidia-compute-utils-535 nvidia-kernel-source-535 nvidia-settings nvidia-utils-535 screen-resolution-extra xserver-xorg-video-nvidia-535
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libwxbase3.0-0v5 libwxbase3.0-dev libwxgtk3.0-gtk3-0v5 wx-common wx3.0-headers
Suggested packages:
  wx3.0-doc gettext
The following NEW packages will be installed:
  libwxbase3.0-0v5 libwxbase3.0-dev libwxgtk3.0-gtk3-0v5 libwxgtk3.0-gtk3-dev wx-common wx3.0-headers
0 upgraded, 6 newly installed, 0 to remove and 319 not upgraded.
Need to get 6,491 kB of archives.
After this operation, 29.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libwxbase3.0-0v5 amd64 3.0.4+dfsg-15build1 [982 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 wx3.0-headers all 3.0.4+dfsg-15build1 [1,019 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libwxbase3.0-dev amd64 3.0.4+dfsg-15build1 [29.5 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libwxgtk3.0-gtk3-0v5 amd64 3.0.4+dfsg-15build1 [4,359 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 wx-common amd64 3.0.4+dfsg-15build1 [71.1 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libwxgtk3.0-gtk3-dev amd64 3.0.4+dfsg-15build1 [29.7 kB]
Fetched 6,491 kB in 22s (291 kB/s)              
Selecting previously unselected package libwxbase3.0-0v5:amd64.
(Reading database ... 199255 files and directories currently installed.)
Preparing to unpack .../0-libwxbase3.0-0v5_3.0.4+dfsg-15build1_amd64.deb ...
Unpacking libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
Selecting previously unselected package wx3.0-headers.
Preparing to unpack .../1-wx3.0-headers_3.0.4+dfsg-15build1_all.deb ...
Unpacking wx3.0-headers (3.0.4+dfsg-15build1) ...
Selecting previously unselected package libwxbase3.0-dev:amd64.
Preparing to unpack .../2-libwxbase3.0-dev_3.0.4+dfsg-15build1_amd64.deb ...
Unpacking libwxbase3.0-dev:amd64 (3.0.4+dfsg-15build1) ...
Selecting previously unselected package libwxgtk3.0-gtk3-0v5:amd64.
Preparing to unpack .../3-libwxgtk3.0-gtk3-0v5_3.0.4+dfsg-15build1_amd64.deb ...
Unpacking libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
Selecting previously unselected package wx-common.
Preparing to unpack .../4-wx-common_3.0.4+dfsg-15build1_amd64.deb ...
Unpacking wx-common (3.0.4+dfsg-15build1) ...
Selecting previously unselected package libwxgtk3.0-gtk3-dev:amd64.
Preparing to unpack .../5-libwxgtk3.0-gtk3-dev_3.0.4+dfsg-15build1_amd64.deb ...
Unpacking libwxgtk3.0-gtk3-dev:amd64 (3.0.4+dfsg-15build1) ...
Setting up wx3.0-headers (3.0.4+dfsg-15build1) ...
Setting up libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
Setting up wx-common (3.0.4+dfsg-15build1) ...
Setting up libwxbase3.0-dev:amd64 (3.0.4+dfsg-15build1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-3.0 to provide /usr/bin/wx-config (wx-config) in auto mode
Setting up libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
Setting up libwxgtk3.0-gtk3-dev:amd64 (3.0.4+dfsg-15build1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/wx/config/gtk3-unicode-3.0 to provide /usr/bin/wx-config (wx-config) in auto mode
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
rootroot@rootroot-X99-Turbo:~$ 
rootroot@rootroot-X99-Turbo:~$ 


原文地址:https://blog.csdn.net/wb4916/article/details/144115012

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!