Tag: 易于

为什么在给*后缀时删除不需要的包?

我做了一个sudo apt-get remove ruby*然后我看到一些grub包也被删除所以我去安装回那些日志显示已删除的包 我在安装时将grub设置为my /sda (一般情况下,不是任何数字)。 应该都可以,或者我应该担心我的系统并计划安装/重新配置更多的grub。 而且,为什么这样开心呢?

“无法解析或打开包列表或状态文件”

每次我sudo apt-get update它总是不完整,最后会说 E: Read error – read (5: Input/output error) E: The package lists or status file could not be parsed or opened. 同样,当我尝试安装某些东西并做sudo apt-get install 我该怎么办 ? 我承认,我的驱动器有坏道,这可能是原因吗? 还有什么我可以做的吗?

如何修复apt:按键签名使用弱摘要算法(SHA1)?

我开始通过添加存储库进行设置,然后在开始安装其他软件之前再次运行sudo apt-get update ,然后我获得了Signature键行并停止了。 所以它基本上不会让我现在更新任何包。 d@EliteBook:~/Downloads$ sudo apt-get update Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable Release Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease Get:5 http://ca.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Hit:6 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:7 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 247 kB in 0s (256 kB/s) Reading package lists… Done W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest […]

`apt-get update`无法找到Ubuntu服务器

在我的服务器上运行sudo apt-get update失败(具有Internet连接)。 服务器是否暂时中断,或者我的APT配置错误并使用旧服务器? 简而言之,我该如何解决这个问题? 这是输出: ~$ uname -a Linux nematode 2.6.28-19-server #66-Ubuntu SMP Sat Oct 16 18:41:24 UTC 2010 i686 GNU/Linux ~$ sudo apt-get update Err http://us.archive.ubuntu.com jaunty Release.gpg Could not resolve ‘us.archive.ubuntu.com’ Err http://us.archive.ubuntu.com jaunty/main Translation-en_US Could not resolve ‘us.archive.ubuntu.com’ Err http://us.archive.ubuntu.com jaunty/restricted Translation-en_US Could not resolve ‘us.archive.ubuntu.com’ Err http://us.archive.ubuntu.com jaunty/universe Translation-en_US Could […]

配置APT代理?

我需要配置代理。 etc/apt/没有apt.conf文件,所以我用nano创建了它。 但我不明白我需要写什么。 我写了http_proxy = http://lgn:pwd@192.168.1.254:8080/那里然后重新启动networking 。 但是当我尝试apt-get update – 它不起作用。 实际上我不明白我应该在apt.conf文件中写入什么端口和ip(有一个带有192.168.1.254 ip和8080端口的例子,所以我决定使用它们)。

更新Ubuntu时如何避免“请插入CD / DVD”错误?

我无法更新12.04 LTS。 Update Manager显示如下: CD/DVD ‘Ubuntu 12.04 LTS _Precise Pangolin_ – Release i386 (20120423)’ is required Please insert the above CD/DVD into the drive ‘/media/cdrom/’ to install software packages from it. 我下载并刻录到CD的图像来自http://releases.ubuntu.com/12.04/PC(Intel x86)桌面CD版。 我烧了很多CD,但结果是一样的。

apt和apt-get有什么区别?

我读到了在Softpedia中添加到apt 1.0的新花式进度条以及如何在此处启用它。 但是在运行sudo apt-get update ,我没有看到花哨的进度条。 在再次阅读第二个链接时,解决方案明确要求您使用sudo apt update 。 因此我的问题是apt和apt-get之间的区别。 我以为他们是同一个人。

权限被拒绝,你是根?

每当我尝试使用终端安装程序时,都会收到此错误: home@ubuntu:~$ apt-get install myunity E: Could not open lock file /var/lib/dpkg/lock – open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? 此外,我无法使用终端安装更新。

如何从sources.list中删除格式错误的行?

我已经取消并重新安装了Ubuntu软件中心,根据我在类似线程中找到的信息,我得到了关于第91行或类似内容的相同响应。 我只是试图上传一个屏幕截图,但由于我是新手,它不允许我。 我也无法弄清楚如何剪切和粘贴任何东西所以我必须手动输入错误屏幕所说的内容,当我尝试打开软件中心时没有任何反应,当我尝试输入命令到终端卸载时,重新安装,无论我得到同样的以下内容: COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the ‘update-manager’ package and include the following error message: ‘E: Malformed line 91 in source list/etc/apt/sources.list (dist parse) E: The list of sources could not be read., E: The package list of […]

得到NODATA问题:’NODATA’(网络是否需要身份validation?)

我可以使用移动宽带通过Firefox访问Internet,但是当我想从终端安装任何软件包或者使用’apt-get update’命令时,我收到以下错误: got ‘NODATA’ (does the network require authentication?) apt-get更新输出: Get:1 extras.ubuntu.com trusty InRelease [213 B] 98% [1 InRelease gpgv 213 B] [Connecting to archive.ubuntu.com] Splitting up /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease into data Ign extras.ubuntu.com trusty InRelease E: GPG error: extras.ubuntu.com trusty InRelease: Clearsigned file isn’t valid, got ‘NODATA’ (does the network require authentication?) ‘cat /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease的输出 404 Not […]