AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 635886
Accepted
XPDIN
XPDIN
Asked: 2015-06-13 22:59:38 +0800 CST2015-06-13 22:59:38 +0800 CST 2015-06-13 22:59:38 +0800 CST

并非所有更新都可以安装 Lubuntu

  • 772

当我尝试“软件更新程序”->“无法安装所有更新”时

请告诉我更新是否一切正常?

sudo apt-get update

Ign http://dk.archive.ubuntu.com trusty InRelease
Ign http://dk.archive.ubuntu.com trusty-updates InRelease                      
Ign http://extras.ubuntu.com trusty InRelease                                  
Ign http://ppa.launchpad.net trusty InRelease                                  
Ign http://dk.archive.ubuntu.com trusty-backports InRelease                    
Ign http://dl.google.com stable InRelease                                      
Hit http://extras.ubuntu.com trusty Release.gpg                                
Hit http://dk.archive.ubuntu.com trusty Release.gpg                            
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://dk.archive.ubuntu.com trusty-updates Release.gpg                    
Hit http://dl.google.com stable Release.gpg                                    
Hit http://extras.ubuntu.com trusty Release                                    
Hit http://dk.archive.ubuntu.com trusty-backports Release.gpg                  
Hit http://ppa.launchpad.net trusty Release.gpg                                
Hit http://dk.archive.ubuntu.com trusty Release                                
Hit http://dl.google.com stable Release                                        
Hit http://ppa.launchpad.net trusty Release.gpg                                
Ign http://security.ubuntu.com trusty-security InRelease                       
Hit http://dk.archive.ubuntu.com trusty-updates Release                        
Hit http://extras.ubuntu.com trusty/main Sources                               
Hit http://dk.archive.ubuntu.com trusty-backports Release                      
Hit http://ppa.launchpad.net trusty Release                                    
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Hit http://dk.archive.ubuntu.com trusty/main Sources                           
Hit http://dk.archive.ubuntu.com trusty/restricted Sources                     
Hit http://ppa.launchpad.net trusty Release                                    
Hit http://dk.archive.ubuntu.com trusty/universe Sources                       
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]           
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://dk.archive.ubuntu.com trusty/multiverse Sources                     
Hit http://dk.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://dk.archive.ubuntu.com trusty/restricted i386 Packages               
Hit http://dk.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Get:2 http://security.ubuntu.com trusty-security Release [63.5 kB]             
Hit http://dk.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://dk.archive.ubuntu.com trusty/main Translation-en                    
Hit http://dk.archive.ubuntu.com trusty/multiverse Translation-en              
Ign http://extras.ubuntu.com trusty/main Translation-en_US                     
Hit http://dk.archive.ubuntu.com trusty/restricted Translation-en              
Ign http://extras.ubuntu.com trusty/main Translation-en                        
Ign http://dl.google.com stable/main Translation-en_US                         
Hit http://dk.archive.ubuntu.com trusty/universe Translation-en                
Hit http://dk.archive.ubuntu.com trusty-updates/main Sources                   
Ign http://dl.google.com stable/main Translation-en                            
Hit http://dk.archive.ubuntu.com trusty-updates/restricted Sources             
Get:3 http://security.ubuntu.com trusty-security/main Sources [85.2 kB]
Hit http://dk.archive.ubuntu.com trusty-updates/universe Sources          
Hit http://dk.archive.ubuntu.com trusty-updates/multiverse Sources         
Hit http://dk.archive.ubuntu.com trusty-updates/main i386 Packages         
Hit http://dk.archive.ubuntu.com trusty-updates/restricted i386 Packages   
Hit http://dk.archive.ubuntu.com trusty-updates/universe i386 Packages     
Hit http://dk.archive.ubuntu.com trusty-updates/multiverse i386 Packages   
Hit http://dk.archive.ubuntu.com trusty-updates/main Translation-en        
Hit http://dk.archive.ubuntu.com trusty-updates/multiverse Translation-en  
Hit http://dk.archive.ubuntu.com trusty-updates/restricted Translation-en      
Hit http://dk.archive.ubuntu.com trusty-updates/universe Translation-en        
Hit http://dk.archive.ubuntu.com trusty-backports/main Sources                 
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [2,061 B]  
Hit http://dk.archive.ubuntu.com trusty-backports/restricted Sources           
Hit http://dk.archive.ubuntu.com trusty-backports/universe Sources
Hit http://dk.archive.ubuntu.com trusty-backports/multiverse Sources
Get:5 http://security.ubuntu.com trusty-security/universe Sources [25.7 kB]
Hit http://dk.archive.ubuntu.com trusty-backports/main i386 Packages       
Hit http://dk.archive.ubuntu.com trusty-backports/restricted i386 Packages     
Hit http://dk.archive.ubuntu.com trusty-backports/universe i386 Packages       
Hit http://dk.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com trusty-backports/main Translation-en
Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [2,333 B]
Hit http://dk.archive.ubuntu.com trusty-backports/multiverse Translation-en    
Hit http://dk.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://dk.archive.ubuntu.com trusty-backports/universe Translation-en
Get:7 http://security.ubuntu.com trusty-security/main i386 Packages [278 kB]
Ign http://dk.archive.ubuntu.com trusty/main Translation-en_US            
Ign http://dk.archive.ubuntu.com trusty/multiverse Translation-en_US      
Ign http://dk.archive.ubuntu.com trusty/restricted Translation-en_US      
Ign http://dk.archive.ubuntu.com trusty/universe Translation-en_US        
Get:8 http://security.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
Get:9 http://security.ubuntu.com trusty-security/universe i386 Packages [108 kB]
Get:10 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,841 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en    
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 578 kB in 8s (71.2 kB/s)                                               
Reading package lists... Done

现在运行:

sudo apt-get upgrade

给出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  docbook-xml docbook-xsl gstreamer1.0-alsa icoutils kate-data katepart
  kde-l10n-engb kde-runtime kde-runtime-data kdelibs-bin kdelibs5-data
  kdelibs5-plugins kdoctools kubuntu-debug-installer libattica0.4
  libbaloocore4 libbaloofiles4 libbalooxapian4 libclucene-core1
  libdbusmenu-qt2 libdlrestrictions1 libepub0 libexiv2-12 libilmbase6
  libkactivities-bin libkactivities-models1 libkactivities6
  libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5
  libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4
  libkexiv2-11 libkexiv2-data libkfile4 libkhtml5 libkidletime4 libkio5
  libkjsapi4 libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4
  libkntlm4 libkparts4 libkprintutils4 libkpty4 libkrosscore4 libkscreen1
  libktexteditor4 libkubuntu0 libkxmlrpcclient4 libnepomuk4 libnepomukcleaner4
  libnepomukcore4abi1 libnepomukquery4a libnepomukutils4 libntrack-qt4-1
  libntrack0 libokularcore4 libokularcore5 libopenexr6 libphonon4 libplasma3
  libpolkit-qt-1-1 libpoppler-qt4-4 libqapt2 libqapt2-runtime libqca2
  libqimageblitz4 libqjson0 libqmobipocket1 libqt4-designer libqt4-qt3support
  libqt4-svg libsolid4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0
  libthreadweaver4 libvirtodbc0 libxcb-randr0 libxml2-utils libzip2
  linux-headers-generic-lts-utopic linux-image-generic-lts-utopic
  nepomuk-core-data nepomuk-core-runtime ntrack-module-libnl-0 odbcinst
  odbcinst1debian2 phonon phonon-backend-gstreamer
  phonon-backend-gstreamer-common phonon-backend-gstreamer1.0
  plasma-scriptengine-javascript qapt-batch sgml-data
  shared-desktop-ontologies soprano-daemon ttf-dejavu-core virtuoso-minimal
  virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
Use 'apt-get autoremove' to remove them.
The following packages have been kept back:
  kde-runtime kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins
  kdoctools libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5
  libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkfile4
  libkhtml5 libkidletime4 libkio5 libkjsapi4 libkjsembed4 libkmediaplayer4
  libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkprintutils4
  libkpty4 libkrosscore4 libktexteditor4 libplasma3 libsolid4 libthreadweaver4
  linux-headers-generic-lts-utopic linux-image-generic-lts-utopic
  plasma-scriptengine-javascript
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.

谢谢。

apt
  • 1 1 个回答
  • 847 Views

1 个回答

  • Voted
  1. Best Answer
    Maythux
    2015-06-14T04:28:21+08:002015-06-14T04:28:21+08:00

    那些要自动删除的包是什么?

    man apt-get

       autoremove
           autoremove is used to remove packages that were automatically
           installed to satisfy dependencies for other packages and are now no
           longer needed.
    

    所以摆脱那些未使用的包是完全安全的。

    运行这些命令:

    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get update
    

    然后尝试升级(如果可用):

    sudo apt-get dist-upgrade
    
    • 1

相关问题

  • 如何编写 shell 脚本来安装应用程序列表?

  • 如何查看存档中可用的软件包的所有版本?

  • 是否可以说出我安装的哪些软件包不在原版安装中?

  • 如何删除 PPA?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve