我在 /run 上对不同的用户和组执行了 chown -R。/run 的默认所有者:组是否存在,以便我可以将它们恢复?即使我必须一次修复一个项目。
当我运行此逗号时出现以下错误
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
accountsservice-ubuntu-schemas alacarte gnome-applets gnome-applets-data
gnome-panel gnome-panel-data gnome-screensaver gstreamer1.0-gtk3
indicator-applet indicator-appmenu indicator-bluetooth indicator-datetime
indicator-keyboard indicator-messages indicator-power indicator-printers
indicator-session indicator-sound jayatana libabw-0.1-1 libaccounts-glib0
libavahi-ui-gtk3-0 libbamf3-2 libboost-date-time1.71.0
libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0
libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcpufreq0
libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-7
libexttextcat-2.0-0 libexttextcat-data libfcitx-gclient1 libfcitx-utils0
libfreehand-0.1-1 libfreerdp-client2-2 libfreerdp2-2 libgnome-panel0
libgpgmepp6 libgucharmap-2-90-7 libido3-0.1-0 libjuh-java libjurt-java
liblangtag-common liblangtag1 liblightdm-gobject-1-0 libmessaging-menu0
libmhash2 libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libnatpmp1
libneon27-gnutls libodfgen-0.1-1 liborcus-0.15-0 libpagemaker-0.0-0
libpanel-applet3 libraptor2-0 librasqal3 librdf0 libridl-java
libunity-gtk2-parser0 libunity-gtk3-parser0 libuno-cppu3
libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
libuno-salhelpergcc3-3 libunoloader-java liburl-dispatcher1 libvncclient1
libwinpr2-2 libwps-0.4-4 libxmlsec1 libxmlsec1-nss libyajl2 lp-solve
ubuntu-touch-sounds unity-gtk-module-common unity-gtk2-module
unity-gtk3-module unity-settings-daemon-schemas uno-libs-private ure
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
dbus dbus-x11 libavahi-client3:i386 libavahi-common-data:i386
libavahi-common3:i386 libcom-err2:i386 libcups2:i386 libdbus-1-3
libdbus-1-3:i386 libexpat1:i386 libfreetype6:i386 libfribidi0:i386
libgail-common:i386 libgail18:i386 libgdk-pixbuf2.0-0:i386 libgmp10:i386
libgssapi-krb5-2:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed5:i386
libicu66:i386 libjbig0:i386 libk5crypto3:i386 libkeyutils1:i386
libkrb5-3:i386 libkrb5support0:i386 liblz4-1:i386 libnettle7:i386
libnss-systemd libp11-kit0:i386 libpam-systemd libpcre2-8-0:i386
libpcre3:i386 libpixman-1-0:i386 libssl1.1:i386 libsystemd0 libsystemd0:i386
libtiff5:i386 libwebp6:i386 libxml2:i386 libzstd1:i386 systemd systemd-sysv
systemd-timesyncd
Suggested packages:
krb5-doc:i386 krb5-user:i386 librsvg2-common:i386 gvfs:i386
systemd-container
The following NEW packages will be installed:
libsystemd0:i386
The following packages will be upgraded:
dbus dbus-x11 libavahi-client3:i386 libavahi-common-data:i386
libavahi-common3:i386 libcom-err2:i386 libcups2:i386 libdbus-1-3
libdbus-1-3:i386 libexpat1:i386 libfreetype6:i386 libfribidi0:i386
libgail-common:i386 libgail18:i386 libgdk-pixbuf2.0-0:i386 libgmp10:i386
libgssapi-krb5-2:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed5:i386
libicu66:i386 libjbig0:i386 libk5crypto3:i386 libkeyutils1:i386
libkrb5-3:i386 libkrb5support0:i386 liblz4-1:i386 libnettle7:i386
libnss-systemd libp11-kit0:i386 libpam-systemd libpcre2-8-0:i386
libpcre3:i386 libpixman-1-0:i386 libssl1.1:i386 libsystemd0 libtiff5:i386
libwebp6:i386 libxml2:i386 libzstd1:i386 systemd systemd-sysv
systemd-timesyncd
43 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
139 not fully installed or removed.
Need to get 0 B/22.0 MB of archives.
After this operation, 1,341 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 225599 files and directories currently installed.)
Preparing to unpack .../liblz4-1_1.9.2-2ubuntu0.20.04.1_i386.deb ...
Unpacking liblz4-1:i386 (1.9.2-2ubuntu0.20.04.1) over (1.9.2-2) ...
dpkg: error processing archive /var/cache/apt/archives/liblz4-1_1.9.2-2ubuntu0.2
0.04.1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/liblz4-1/changelog.Debian.gz', which
is different from other instances of package liblz4-1:i386
Errors were encountered while processing:
/var/cache/apt/archives/liblz4-1_1.9.2-2ubuntu0.20.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我最近将 Ubuntu 版本从20.04 升级到了 22.04。自升级以来,我一直遇到内核恐慌错误:
“内核崩溃 - 未同步:VFS:无法在未知块 (0,0) 上挂载根文件系统”
当我尝试使用新内核版本5.4.0.190-generic启动时出现此错误。但是,我能够使用旧内核版本5.4.0.169-generic登录。
您能否帮助我解决这个问题,以便我可以使用较新的内核版本成功启动?
我的主机是 Ubuntu,我在 Virualbox 中有不同的客户机。直到昨天,它们(Windows 和 Ubuntu 客户机)都运行良好。今天,它们在启动时都会遇到此错误:
运行虚拟机时发生严重错误,机器执行已停止。
增加内存没有用。调整 CPU 选项也没有用。重启主机也没有用。
Virtualbox 版本:6.1.50_Ubuntu r161033
Ubuntu 主机版本:20.04 focus
日志文件太大。其结尾如下:
在单击“确定”之前结束记录:
--------------------------------------------------------------------------------
00:00:03.361140 !!
00:00:03.361140 !! {vmsvga}
00:00:03.361140 !!
00:00:03.361140 Extension enabled: false
00:00:03.361141 Configured: false
00:00:03.361141 Base I/O port: 0xd010
00:00:03.361142 FIFO address: 00000000f0000000
00:00:03.361142 FIFO size: 2097152 (0x200000)
00:00:03.361142 FIFO external cmd: 0x0
00:00:03.361143 FIFO extcmd wakeup: 0
00:00:03.361143 FIFO min/max: 0/0
00:00:03.361143 Busy: 0x0
00:00:03.361143 Traces: false (effective: true )
00:00:03.361144 Guest ID: 0x0 (0)
00:00:03.361144 IRQ status: 0x0
00:00:03.361144 IRQ mask: 0x0
00:00:03.361145 Pitch lock: 0x0 (FIFO:0x0)
00:00:03.361145 Current GMR ID: 0x0
00:00:03.361145 Capabilites reg: 0xf6c2a0
00:00:03.361145 Index reg: 0x0
00:00:03.361146 Action flags: 0x0
00:00:03.361146 Max display size: 5632x5632
00:00:03.361146 Display size: 4294967295x4294967295 4294967295bpp
00:00:03.361147 Scanline: 0 (0x0)
00:00:03.361147 Viewport position: 0x0
00:00:03.361147 Viewport size: 0x0
00:00:03.361147 Cursor active: false
00:00:03.361148 Cursor hotspot: 0x0
00:00:03.361148 Cursor size: 0x0
00:00:03.361149 Cursor byte size: 0 (0x0)
00:00:03.361149 3D enabled: false
00:00:03.361149 Driver mode: 720x400 32bpp
00:00:03.361150 Driver pitch: 2880 (0xb40)
00:00:03.361150 !!
00:00:03.361150 !! {vmsvga3dctx}
00:00:03.361151 !!
00:00:03.361152 !!
00:00:03.361152 !! {vmsvga3dsfc}
00:00:03.361152 !!
00:00:03.361152 !!
00:00:03.361152 !! {vmsvga3dsurf}
00:00:03.361153 !!
00:00:03.361153 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:00:03.361200 emR3Debug: rc=VERR_VMM_SET_JMP_ABORTED_RESUME
00:00:03.423841 GUI: Machine-window #0 deactivated
00:00:03.423874 GUI: Releasing mouse on focus out
00:00:03.423880 GUI: Releasing keyboard on focus out
00:00:03.425282 GUI: Machine-view #0 unfocused, reason=3
00:09:10.403673 GUI: User request to power VM off on Guru Meditation.
00:09:10.403700 GUI: Passing request to power VM off from machine-logic to UI session.
00:09:10.403706 GUI: Powering VM down on UI session power off request...
00:09:10.403866 Console: Machine state changed to 'Stopping'
00:09:10.404303 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0)
00:09:10.404559 Changing the VM state from 'GURU_MEDITATION' to 'POWERING_OFF'
00:09:10.404574 ****************** Guest state at power off for VCpu 1 ******************
单击“确定”后日志结束:
00:09:10.464817 E1000#0: Larger TX frames : 0
00:09:10.464823 E1000#0: Max TX Delay : 0
00:09:10.531519 GIM: KVM: Resetting MSRs
00:09:10.534960 Changing the VM state from 'DESTROYING' to 'TERMINATED'
00:09:10.534960 Console: Machine state changed to 'PoweredOff'
00:09:11.048662 GUI: Passing request to close Runtime UI from machine-logic to UI session.
我可以根据要求提供更多日志。
我刚刚注意到我的 Xubuntu 20.04 设备已经 EOL。我不知道它的支持期(3 年)比常规 Ubuntu(5 年)短。但可惜我们到了这里。
我已经在设备上安装了 ubuntu-desktop 软件包并切换到 Ubuntu 桌面。这是否意味着该设备现在继承了常规 Ubuntu LTS 的更长支持期?
如果没有,有什么方法可以让我获得更长的 Ubuntu LTS 支持期,而不必从头开始重新安装我的设备?
此致
多年来,我一直使用 USB 上的Brother DCP-J752DW和 Ubuntu 20.04 。自上次更新以来,CUPS 似乎已损坏。打印机配置不再运行。
我有一台 HP Pavillion x360 笔记本电脑,在其中安装了全新的空 SSD,并尝试从 USB 棒安装 Ubuntu。我尝试使用 20.04 和 22.04 版本,以安全图形模式启动。在这两种情况下,都会出现欢迎屏幕,但当我单击“尝试 Ubuntu”或“安装 Ubuntu”时,系统会冻结并且什么都没有发生(尽管我可以移动鼠标指针)。剩下的唯一选择是硬重置(关闭计算机)。我还尝试安装 24.04,但在这种情况下,它在加载 plymouthd 后会冻结。有什么想法吗?
我们可以在 x86_64 windows 机器上安装并运行 Ubuntu WSL for arm64 arch 吗?