首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装mkusb时出错

安装mkusb时出错
EN

Ask Ubuntu用户
提问于 2019-04-26 04:38:49
回答 1查看 707关注 0票数 0

当我试图安装mkusb时,我看到了错误。在反复获得错误后,我首先使用此页上的说明清除mkusb。

当我在下一次尝试中仍然出错时,我重复了清除,并看到了以下结果:

代码语言:javascript
复制
    thethirdeyeagain@thethirdeyeagain:~$ sudo apt-get purge mkusb
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package 'mkusb' is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 336 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up desktop-file-utils (0.22-1ubuntu5.1) ...
    /var/lib/dpkg/info/desktop-file-utils.postinst: 5: /var/lib/dpkg/info/desktop-file-utils.postinst: update-desktop-database: Permission denied
    dpkg: error processing package desktop-file-utils (--configure):
     subprocess installed post-installation script returned error exit status 126
    Errors were encountered while processing:
     desktop-file-utils
    E: Sub-process /usr/bin/dpkg returned an error code (1)

当我试图安装mkusb时,我会看到以下内容,类似于清除之前发生的情况:

代码语言:javascript
复制
thethirdeyeagain@thethirdeyeagain:~$ sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.
thethirdeyeagain@thethirdeyeagain:~$ sudo add-apt-repository ppa:mkusb/ppa

 More info: https://launchpad.net/~mkusb/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp9z0r3jqp/secring.gpg' created
gpg: keyring `/tmp/tmp9z0r3jqp/pubring.gpg' created
gpg: requesting key 54B8C8AC from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp9z0r3jqp/trustdb.gpg: trustdb created
gpg: key 54B8C8AC: public key "Launchpad PPA for MKUSB" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
thethirdeyeagain@thethirdeyeagain:~$ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease                     
Get:4 http://dl.google.com/linux/chrome/deb stable Release [943 B]             
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]    
Get:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]         
Get:7 https://deb.nodesource.com/node_4.x xenial InRelease [4,646 B]           
Err:6 http://dl.google.com/linux/chrome/deb stable Release.gpg                 
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
Hit:8 http://archive.canonical.com/ubuntu xenial InRelease                     
Hit:9 http://ppa.launchpad.net/mkusb/ppa/ubuntu xenial InRelease               
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] 
Hit:11 http://ppa.launchpad.net/mystic-mirage/komodo-edit/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease       
Ign:2 http://www.getdeb.net/ubuntu xenial-getdeb InRelease                     
Ign:13 http://www.getdeb.net/ubuntu xenial-getdeb Release
Ign:14 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 Packages.diff/Index
Ign:15 http://www.getdeb.net/ubuntu xenial-getdeb/apps i386 Packages.diff/Index
Ign:16 http://www.getdeb.net/ubuntu xenial-getdeb/apps all Packages
Ign:17 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en_US
Ign:18 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en
Ign:19 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 DEP-11 Metadata
Ign:20 http://www.getdeb.net/ubuntu xenial-getdeb/apps DEP-11 64x64 Icons
Ign:21 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 Packages
Ign:22 http://www.getdeb.net/ubuntu xenial-getdeb/apps i386 Packages
Ign:16 http://www.getdeb.net/ubuntu xenial-getdeb/apps all Packages
Ign:17 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en_US
Get:23 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Ign:18 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en          
Ign:19 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 DEP-11 Metadata   
Ign:20 http://www.getdeb.net/ubuntu xenial-getdeb/apps DEP-11 64x64 Icons
Ign:21 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 Packages
Ign:22 http://www.getdeb.net/ubuntu xenial-getdeb/apps i386 Packages
Ign:16 http://www.getdeb.net/ubuntu xenial-getdeb/apps all Packages
Ign:17 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en_US
Ign:18 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en
Ign:19 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 DEP-11 Metadata
Ign:20 http://www.getdeb.net/ubuntu xenial-getdeb/apps DEP-11 64x64 Icons
Ign:21 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 Packages
Ign:22 http://www.getdeb.net/ubuntu xenial-getdeb/apps i386 Packages
Ign:16 http://www.getdeb.net/ubuntu xenial-getdeb/apps all Packages
Ign:17 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en_US
Ign:18 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en
Ign:19 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 DEP-11 Metadata
Ign:20 http://www.getdeb.net/ubuntu xenial-getdeb/apps DEP-11 64x64 Icons
Ign:21 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 Packages
Ign:22 http://www.getdeb.net/ubuntu xenial-getdeb/apps i386 Packages
Ign:16 http://www.getdeb.net/ubuntu xenial-getdeb/apps all Packages
Ign:17 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en_US
Ign:18 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en
Ign:19 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 DEP-11 Metadata
Ign:20 http://www.getdeb.net/ubuntu xenial-getdeb/apps DEP-11 64x64 Icons
Ign:21 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 Packages
Ign:22 http://www.getdeb.net/ubuntu xenial-getdeb/apps i386 Packages
Ign:16 http://www.getdeb.net/ubuntu xenial-getdeb/apps all Packages
Ign:17 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en_US
Ign:18 http://www.getdeb.net/ubuntu xenial-getdeb/apps Translation-en
Ign:19 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 DEP-11 Metadata
Ign:20 http://www.getdeb.net/ubuntu xenial-getdeb/apps DEP-11 64x64 Icons
Err:21 http://www.getdeb.net/ubuntu xenial-getdeb/apps amd64 Packages
  403  Forbidden
Fetched 331 kB in 3s (104 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: The repository 'http://archive.getdeb.net/ubuntu xenial-getdeb Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
E: Failed to fetch http://www.getdeb.net/ubuntu/dists/xenial-getdeb/apps/binary-amd64/Packages  403  Forbidden
E: Failed to fetch http://www.getdeb.net/ubuntu/dists/xenial-getdeb/apps/binary-i386/Packages  403  Forbidden
W: Some index files failed to download. They have been ignored, or old ones used instead.
thethirdeyeagain@thethirdeyeagain:~$ sudo apt-get install mkusb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  mkusb
0 upgraded, 1 newly installed, 0 to remove and 336 not upgraded.
1 not fully installed or removed.
Need to get 0 B/50.2 kB of archives.
After this operation, 193 kB of additional disk space will be used.
Selecting previously unselected package mkusb.
(Reading database ... 223633 files and directories currently installed.)
Preparing to unpack .../mkusb_12.3.2-1ubuntu4_all.deb ...
Unpacking mkusb (12.3.2-1ubuntu4) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up desktop-file-utils (0.22-1ubuntu5.1) ...
/var/lib/dpkg/info/desktop-file-utils.postinst: 5: /var/lib/dpkg/info/desktop-file-utils.postinst: update-desktop-database: Permission denied
dpkg: error processing package desktop-file-utils (--configure):
 subprocess installed post-installation script returned error exit status 126
Setting up mkusb (12.3.2-1ubuntu4) ...
Errors were encountered while processing:
 desktop-file-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
thethirdeyeagain@thethirdeyeagain:~$ sudo apt-get install mkusb-nox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mkusb-nox is already the newest version (12.3.2-1ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 336 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up desktop-file-utils (0.22-1ubuntu5.1) ...
/var/lib/dpkg/info/desktop-file-utils.postinst: 5: /var/lib/dpkg/info/desktop-file-utils.postinst: update-desktop-database: Permission denied
dpkg: error processing package desktop-file-utils (--configure):
 subprocess installed post-installation script returned error exit status 126
Errors were encountered while processing:
 desktop-file-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)

对不起,这是一堵墙。请让我知道,如果你想让我删除所有,除了某一部分是相关的。

我欢迎任何关于如何排除故障或尝试其他什么的建议。

感谢DK的编辑,使日志更容易阅读!我引用它的尝试是使它成为一个连续的文本流。现在,我看到了一些格式化技巧,并将使用它来查看是否可以使它看起来更像您下次所做的。

EN

回答 1

Ask Ubuntu用户

发布于 2019-04-26 14:16:06

我按照https://help.ubuntu.com/community/mkusb的说明安装mksub。如果它被卡住在35%,关闭终端和输入"sudo apt-get安装mkusb mkusb-nox - usb-pack-efi“,没有引号。希望这是有用的。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1138236

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档