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

embedded/2024/12/2 23:15:16/

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:~$ 


http://www.ppmy.cn/embedded/142445.html

相关文章

第七章selinux----第八章防火墙

1、selinux的说明 SELinux是Security-Enhanced Linux的缩写,意思是安全强化的linux。 SELinux 主要由美国国家安全局(NSA)开发,当初开发的目的是为了避免资源的误用。 系统资源都是通过程序进行访问的,如果将 /var/ww…

Vue.js 深入探索:自定义指令与插件开发

Vue.js 是一个轻量级、易于上手的前端框架,但它的灵活性和强大功能远不止于此。Vue 提供了丰富的内置指令(如 v-bind、v-if、v-for 等)和组件系统,然而,Vue 的真正魅力在于其高度可扩展的设计。你可以通过创建 自定义指…

九、Spring Boot集成Spring Security之授权概述

文章目录 往期回顾:Spring Boot集成Spring Security专栏及各章节快捷入口前言一、授权概述二、用户权限三、用户授权流程三、Spring Security授权方式1、请求级别授权2、方法级别授权 往期回顾:Spring Boot集成Spring Security专栏及各章节快捷入口 Spr…

MySQL —— 配置文件

前一篇文章:MySQL —— MySQL 程序-CSDN博客 目录 前言 一、使用方法 二、配置文件位置及加载顺序 1.在 Windows 系统中读取配置文件 2.在 Linux 系统中读取配置文件 三、配置文件语法 四、案例:设置客户端全局编码格式 总结 前言 本篇文章要介…

大模型开发和微调工具Llama-Factory-->数据处理

数据处理 dataset_info.json 包含了所有经过处理的 本地数据集 和 在线数据集。如果使用本地数据集, 务必在 dataset_info.json 中添加对应数据集及其内容的定义 目前支持 Alpaca 格式 和 ShareGPT 的格式 1.Alpaca 针对不同任务,数据集格式要求如下…

数据资产管理是什么?为什么重要?核心组成部分(分类分级、登记追踪、质量管理、安全合规)、实施方法、未来趋势、战略意义

文章目录 一、引言:数据的新时代二、什么是数据资产管理?2.1 定义2.2 核心功能 三、为什么数据资产管理至关重要?3.1 面对的数据管理挑战 四、数据资产管理的核心组成部分4.1 数据分类与分级4.2 数据资产登记与追踪4.3 数据质量管理4.4 数据安…

kafka数据在服务端时怎么写入的

学习背景 接着上篇,我们来聊聊kafka数据在服务端怎么写入的 服务端写入 在介绍服务端的写流程之前,我们先要理解服务端的几个角色之间的关系。 假设我们有一个由3个broker组成的kafka集群,我们在这个集群上创建一个topic叫做shitu-topic&…

jvm-45-jvm dump 文件内存介绍+获取+堆内存可视分析化

拓展阅读 JVM FULL GC 生产问题 I-多线程通用实现 JVM FULL GC 生产问题 II-如何定位内存泄露? 线程通用实现 JVM FULL GC 生产问题 III-多线程执行队列的封装实现,进一步抽象 jvm-44-jvm 内存性能分析工具 Eclipse Memory Analyzer Tool (MAT) / 内…