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
    • 最新
    • 标签
主页 / user-402358

Make42's questions

Martin Hope
Make42
Asked: 2022-05-11 05:21:17 +0800 CST

由于“未知错误”,KDE 上的 Akonadi 无法启动,我无法更新 MariaDB

  • 0

Konact / KMail 不想再启动了,因为 Akonadi 失败了。我无法启动 akonadi

~$ akonadictl --verbose start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: Found mysql_install_db:  "/usr/bin/mysql_install_db"
org.kde.pim.akonadiserver: Found mysqlcheck:  "/usr/bin/mysqlcheck"
org.kde.pim.akonadiserver: Using mysqld: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadicontrol: Service ":1.89" owner changed from "" to ":1.89"
org.kde.pim.akonadicontrol: Service ":1.90" owner changed from "" to ":1.90"
org.kde.pim.akonadiserver: mysqld reports version 10.3.34 (MariaDB)
org.kde.pim.akonadiserver: Executing: "/usr/sbin/mysqld-akonadi" "--defaults-file=/home/raeg/.local/share/akonadi/mysql.conf --datadir=/home/raeg/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid"
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/raeg/.local/share/akonadi/mysql.conf", "--datadir=/home/raeg/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "2022-05-10 15:12:03 0 [Note] /usr/sbin/mysqld-akonadi (mysqld 10.3.34-MariaDB-0ubuntu0.20.04.1) starting as process 7312 ...\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: terminating connection threads
org.kde.pim.akonadiserver: terminating service threads
org.kde.pim.akonadiserver: stopping db process
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Service ":1.90" owner changed from ":1.90" to ""
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...

尝试更新 MariaDB

我读到,我应该更新 MariaDB,但我不知道如何。

~$ sudo systemctl restart mariadb
Failed to restart mariadb.service: Unit mariadb.service not found.
~$ sudo mysql_upgrade
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
FATAL ERROR: Upgrade failed
~$ sudo mariadb-upgrade
sudo: mariadb-upgrade: Command not found
~$ mariadb --version
mariadb  Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

然后我跑了

curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=10.8
sudo apt update && sudo apt upgrade -y
~$ mariadb --version
mariadb  Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

但正如人们所看到的,这并没有太大变化。

我读到https://bbs.archlinux.org/viewtopic.php?id=184192,更新到 MariaDB 版本 10 可能是问题所在。它建议降级,然后做一些事情,然后再次升级。但是,那篇文章是 2014 年的,所以我不确定它是否仍然适用。

应用装甲

根据升级到 Ubuntu 20.04.2 LTS 会破坏 Akonadi,因此 KMail可能是 apparmor 的问题,所以我跑了

sudo systemctl disable apparmor

并重新启动,但这并没有帮助。

我能做些什么?

kde
  • 2 个回答
  • 894 Views
Martin Hope
Make42
Asked: 2022-02-19 12:41:43 +0800 CST

安装包失败 initramfs-tool

  • 0

当我通过 Discover 更新我的 Kubuntu 20.04 时,我收到了消息

安装包失败 安装包时出错:initramfs-tools 包安装后脚本子进程返回错误退出状态1

这是什么意思,我能做些什么来解决这个问题?


另外,是的,我的逻辑卷是加密的。 https://askubuntu.com/a/1215354/402358明确警告不要遵循各自的解决方案,所以我不确定安装/更新时 initramfs 错误的(其他)解决方案是否是一个好主意。

software-installation
  • 1 个回答
  • 89 Views
Martin Hope
Make42
Asked: 2020-12-17 04:51:39 +0800 CST

从命令行打开 K 菜单编辑器

  • 3

我使用 Excalibur 作为开始菜单。与其他开始菜单相比,右键单击 Excalibur 后,没有可以打开 K 菜单编辑器的“编辑应用程序...”按钮。切换到另一个开始菜单(然后返回)会打乱我的 Excalibur 配置。有什么替代方法可以打开 K 菜单编辑器 - 例如通过命令行?

kde command-line menu kde5 plasma-5
  • 1 个回答
  • 840 Views
Martin Hope
Make42
Asked: 2017-09-01 06:17:55 +0800 CST

包管理系统在架构方面搞砸了

  • 0

我想我在我的包裹系统中搞砸了一些东西。我试图进入某种“基本”状态,我使用https://repogen.simplylinux.ch/generate.php给我一个新的 source.list。我重命名/etc/apt/sources.list.d/为/etc/apt/sources.list.d.save不碍事。但现在当我

sudo apt-get update

我收到很多消息,例如

Err http://download.virtualbox.org trusty/contrib armhf Packages               
  404  Not Found [IP: 2.20.143.5 80]
Ign http://download.virtualbox.org trusty/contrib Translation-en               
Ign http://download.virtualbox.org trusty/contrib Translation-de 

或 W:无法获取http://update.yuuguu.com/repositories/apt/dists/hardy/multiverse/binary-armhf/Packages 404 Not Found [IP: 2.20.143.5 80]

我的 source.list 是 #-------------------------------------------- ----------------------------------# # 官方 UBUNTU 存储库 # #--------- -------------------------------------------------- -------------------#

###### Ubuntu Main Repos
deb http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://de.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse 
deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse 
deb http://de.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse 
deb http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse 

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu trusty main

#------------------------------------------------------------------------------#
#                           UNOFFICIAL UBUNTU REPOS                            #
#------------------------------------------------------------------------------#


###### 3rd Party Binary Repos

#### Banshee PPA - https://edge.launchpad.net/~banshee-team
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E80C6B7
deb http://ppa.launchpad.net/banshee-team/ppa/ubuntu trusty main

#### Daniil's Bash Video Download - http://daniil.it
## Run this command: wget -q -O - http://dano.cu.cc/1Aci9Qp | sudo apt-key add - && sudo apt-get update
deb http://repo.daniil.it lenny main

#### Daniil's repo - http://daniil.it
## Run this command: sudo apt-key adv --recv-keys --keyserver keys.gnupg.net 72B97FD1D9672C93 && sudo apt-get update
deb http://repo.daniil.it lenny main

#### Dropbox - http://dropbox.com
## Run this command: sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
deb http://linux.dropbox.com/ubuntu/ trusty main

#### Gimp PPA - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu trusty main

#### GNOME3 Extra Apps PPA - https://launchpad.net/~gnome3-team/+archive/gnome3
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B1510FD
deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu trusty main

#### Google Chrome Browser - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/chrome/deb/ stable main

#### Google Earth - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/earth/deb/ stable main

#### JDownloader PPA - https://launchpad.net/~jd-team
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6A68F637
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu trusty main

#### Kubuntu Backports PPA - https://edge.launchpad.net/~kubuntu-ppa/+archive/backports
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu trusty main

#### Kubuntu Beta Backports PPA - https://launchpad.net/~kubuntu-ppa/+archive/beta
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
deb http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu trusty main

#### Kubuntu Updates PPA - https://edge.launchpad.net/~kubuntu-ppa/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu trusty main 

#### LibreOffice PPA - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main

#### MongoDB - http://www.mongodb.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen

#### Opera - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ stable non-free

#### Oracle Java (JDK) Installer PPA - http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

#### ownCloud Desktop Client - http://owncloud.org/
## Run this command: wget -q http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key -O- | sudo apt-key add -
deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/ /

#### Pidgin PPA - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu trusty main

#### Steam for Linux - http://store.steampowered.com/about/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7
deb [arch=i386] http://repo.steampowered.com/steam/ precise steam

#### Tor: anonymity online - http://www.torproject.org/
## Run this command: gpg --keyserver subkeys.pgp.net --recv 886DDD89 && gpg --export --armor 886DDD89  | sudo apt-key add -
deb http://deb.torproject.org/torproject.org trusty main

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian trusty contrib

#### WebUpd8 PPA - http://www.webupd8.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4C9D234C
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu trusty main

#### WebUpd8 Unstable PPA - http://www.webupd8.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu trusty main

#### Wine PPA - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main

#### X Updates PPA - https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF1CDFA9
deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu trusty main

#### Xorg Edgers PPA - https://launchpad.net/~xorg-edgers
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8844C542  
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu trusty main

#### Yuuguu - http://yuuguu.com
deb http://update.yuuguu.com/repositories/apt hardy multiverse

我做错了什么?

我有一个带有 Kubuntu 14.4 的 amd64 系统。

apt
  • 1 个回答
  • 277 Views
Martin Hope
Make42
Asked: 2017-08-30 06:42:20 +0800 CST

W: 获取 geogebra 失败

  • 0

当我命令sudo apt-get update我得到

W: Failed to fetch http://www.geogebra.net/linux/dists/stable/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

莫非是和我的sources.list有关

# deb cdrom:[Kubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.1)]/ trusty main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-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 [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-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 [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-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 [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security main restricted
deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security universe
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security universe
deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security 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 [arch=amd64] http://archive.canonical.com/ubuntu trusty partner
deb-src [arch=amd64] http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb [arch=amd64] http://extras.ubuntu.com/ubuntu trusty main
deb-src [arch=amd64] http://extras.ubuntu.com/ubuntu trusty main

### For R:
# deb [arch=amd64] http://cran.r-mirror.de/bin/linux/ubuntu trusty/
# deb-src [arch=amd64] http://cran.r-mirror.de/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://ftp5.gwdg.de/pub/misc/cran/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://cran.es.r-project.org/bin/linux/ubuntu trusty
# deb [arch=amd64] http://www.stats.bris.ac.uk/R/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://cran.stat.ucla.edu/bin/linux/ubuntu trusty/
deb [arch=amd64] http://cran.rstudio.com/bin/linux/ubuntu trusty/

### For R-Extras:
# deb [arch=amd64] http://orange.biolab.si/debian squeeze main
# deb-src [arch=amd64] http://orange.biolab.si/debian squeeze main

### For the KDE Widget "Concise":
deb [arch=amd64] http://ppa.launchpad.net/bytr/concise/ubuntu trusty main
deb-src [arch=amd64] http://ppa.launchpad.net/bytr/concise/ubuntu trusty main
# Run: $ sudo add-apt-repository ppa:bytr/concise; sudo apt-get install concise

### For Virtualbox:
# deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian trusty contrib
# deb-src [arch=amd64] http://download.virtualbox.org/virtualbox/debian trusty contrib

### For Dropbox:
# deb [arch=amd64] http://linux.dropbox.com/ubuntu trusty main
# deb-src [arch=amd64] http://linux.dropbox.com/ubuntu trusty main

### For Resilio:
deb [arch=armhf] http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

或者我能做些什么来解决这个问题?我正在使用 Kubuntu 14.4。

apt
  • 1 个回答
  • 231 Views
Martin Hope
Make42
Asked: 2017-08-30 06:24:47 +0800 CST

取决于:gimagereader-gtk 但不会安装

  • 0

我想安装gimagereader并尝试使用

:~$ sudo apt-get install gimagereader 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gimagereader : Depends: gimagereader-gtk but it is not going to be installed                                                                                                                             
E: Unable to correct problems, you have held broken packages.

:~$ sudo apt-get install gimagereader-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gimagereader-gtk is already the newest version.

以及https://askubuntu.com/a/944282/402358中的命令什么也没做。

还:

:~$ sudo apt-mark showhold
W: Duplicate sources.list entry http://linux-packages.resilio.com/resilio-sync/deb/ resilio-sync/non-free armhf Packages (/var/lib/apt/lists/linux-packages.resilio.com_resilio-sync_deb_dists_resilio-sync_non-free_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems

另外,我的 source.list 是

# deb cdrom:[Kubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416.1)]/ trusty main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-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 [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-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 [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-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 [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security main restricted
deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security universe
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security universe
deb [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src [arch=amd64] http://security.ubuntu.com/ubuntu trusty-security 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 [arch=amd64] http://archive.canonical.com/ubuntu trusty partner
deb-src [arch=amd64] http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb [arch=amd64] http://extras.ubuntu.com/ubuntu trusty main
deb-src [arch=amd64] http://extras.ubuntu.com/ubuntu trusty main

### For R:
# deb [arch=amd64] http://cran.r-mirror.de/bin/linux/ubuntu trusty/
# deb-src [arch=amd64] http://cran.r-mirror.de/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://ftp5.gwdg.de/pub/misc/cran/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://cran.es.r-project.org/bin/linux/ubuntu trusty
# deb [arch=amd64] http://www.stats.bris.ac.uk/R/bin/linux/ubuntu trusty/
# deb [arch=amd64] http://cran.stat.ucla.edu/bin/linux/ubuntu trusty/
deb [arch=amd64] http://cran.rstudio.com/bin/linux/ubuntu trusty/

### For R-Extras:
# deb [arch=amd64] http://orange.biolab.si/debian squeeze main
# deb-src [arch=amd64] http://orange.biolab.si/debian squeeze main

### For the KDE Widget "Concise":
deb [arch=amd64] http://ppa.launchpad.net/bytr/concise/ubuntu trusty main
deb-src [arch=amd64] http://ppa.launchpad.net/bytr/concise/ubuntu trusty main
# Run: $ sudo add-apt-repository ppa:bytr/concise; sudo apt-get install concise

### For Virtualbox:
# deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian trusty contrib
# deb-src [arch=amd64] http://download.virtualbox.org/virtualbox/debian trusty contrib

### For Dropbox:
# deb [arch=amd64] http://linux.dropbox.com/ubuntu trusty main
# deb-src [arch=amd64] http://linux.dropbox.com/ubuntu trusty main

### For Resilio:
deb [arch=armhf] http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

还:

:~$ sudo apt-cache policy gimagereader
gimagereader:
  Installed: (none)
  Candidate: 3.1.2-1~trustyppa1
  Version table:
     3.1.2-1~trustyppa1 0
        500 http://ppa.launchpad.net/sandromani/gimagereader/ubuntu/ trusty/main amd64 Packages

我能做些什么?我正在使用 Kubuntu 14.4。

package-management
  • 1 个回答
  • 261 Views
Martin Hope
Make42
Asked: 2017-05-03 23:04:24 +0800 CST

更新virtualbox时发生冲突

  • 11

我想更新我的 virtualbox 但收到错误消息

$ sudo dpkg -i virtualbox-5.1_5.1.22-115126~Ubuntu~trusty_amd64.deb 

dpkg: regarding virtualbox-5.1_5.1.22-115126~Ubuntu~trusty_amd64.deb containing virtualbox-5.1:
 virtualbox-5.1 conflicts with virtualbox
  virtualbox-5.0 provides virtualbox and is present and installed.

dpkg: error processing archive virtualbox-5.1_5.1.22-115126~Ubuntu~trusty_amd64.deb (--install):
 conflicting packages - not installing virtualbox-5.1
Errors were encountered while processing:
 virtualbox-5.1_5.1.22-115126~Ubuntu~trusty_amd64.deb

我明白这意味着什么,但不知道如何解决这个问题。我应该卸载我当前的安装吗?我担心我可能会丢失我的设置等。

upgrade
  • 1 个回答
  • 5887 Views
Martin Hope
Make42
Asked: 2015-07-15 11:08:39 +0800 CST

在 ubuntu 14.4 上安装 python 2.7.10 后,更改 python/问题后 muon 消失了

  • 2

我的介子在我的 Kubuntu 14.4 上不见了。如果我尝试安装它

sudo apt-get install muon

我收到消息

The following packages have unresolved dependencies:
 muon : Depends on: apt-xapian-index but shall not be installed
E: Problems can not be corrected, you have retained defect packages.

(翻译成英文)

在包系统中执行命令被破坏。如何解决?在各种订单中多次(如答案所示)没有帮助。

所以我当时所做的就是执行

sudo apt-get install apt-xapian-index

哪个回答了

The following packages have unresolved dependencies:
 apt-xapian-index : Depends on: python-xapian (>= 1.0.2) but shall not be installed.
Depends on: python-apt (>= 0.7.93.2) but shall not be installed.
Depends on: python-debian (>= 0.1.14) but shall not be installed.
Depends on: python:any (>= 2.7.1-0ubuntu2) but shall not be installed.
E: Problems can not be corrected, you have retained defect packages.

(翻译成英文)

就在那时我想起来了,我试图在我的 ubuntu 14.04(它本身只有 python 2.7.6)上安装 python 2.7.10。但是,我删除了和中的PATH扩展名,这样~/.profile~/.bashrc

$ python --version
Python 2.7.6

回来了。我仍然有 python 2.7.10/opt/python并且没有改变我的效果

$ ln -s /opt/python/bin/python2.7 /usr/local/bin/python2.7.10

我在做什么?

apt
  • 1 个回答
  • 552 Views

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