我的空间不足,因此尝试使用 ubuntu 18.04 和 Windows 10 在我的双启动 PC 中释放一些空间。几个月前,在进行故障排除时,我安装了几个软件包。现在我不记得是否ntfs-config
是其中之一,或者它从一开始就在这里。
- 我怎么知道是我安装了它还是在设置操作系统时安装了它?
- 删除是否安全
ntfs-config
? - 我可以从我的 ubuntu 中安全地删除哪些软件包而不会导致任何异常?我想我必须为每个包裹单独研究,但有没有更好/更简单的方法?
我的空间不足,因此尝试使用 ubuntu 18.04 和 Windows 10 在我的双启动 PC 中释放一些空间。几个月前,在进行故障排除时,我安装了几个软件包。现在我不记得是否ntfs-config
是其中之一,或者它从一开始就在这里。
ntfs-config
?我的 ubuntu 18.04 安装在 SSD 中。我从 ubuntu 软件安装了pinta,但无法从我的硬盘打开文件,说权限被拒绝。但可以从安装了 ubuntu 的 SSD 打开文件(文档、下载...文件夹)。我如何授予所有驱动器的权限。其他一些应用程序也面临同样的问题。
Computer
pinta 可以访问来自的文件。
这是findmnt | grep /media
命令输出
当我单击时,Details
我得到以下信息:
System.UnauthorizedAccessException:对路径“/media/asif/New Volume/Desktop/o1.jpg”的访问被拒绝。 在 System.IO.FileStream..ctor(System.String 路径、System.IO.FileMode 模式、System.IO.FileAccess 访问、System.IO.FileShare 共享、System.Int32 bufferSize、System.Boolean 匿名、System.IO。 FileOptions 选项)[0x0019e] in :0 在 System.IO.FileStream..ctor(System.String 路径、System.IO.FileMode 模式、System.IO.FileAccess 访问、System.IO.FileShare 共享、System.Int32 bufferSize、System.Boolean isAsync、System.Boolean 匿名) [0x00000] 在 :0 在 System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access) [0x00000] in :0 在 (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess) 在 Pinta.Core.GdkPixbufFormat.Import (System.String fileName, Gtk.Window parent) [0x00001] in :0 在 Pinta.Core.WorkspaceManager.OpenFile(System.String 文件,Gtk.Window 父级)[0x0003d] 中:0
的输出snap list pinta
error: no matching snaps installed
命令的输出apt policy pinta
pinta:
Installed: (none)
Candidate: 1.6-2
Version table:
1.6-2 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages
asif@asif-HP:~$
这是flatpak list
和的输出dpkg -l pinta
的一些输出sudo locate -i pinta
:
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_dash.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_dash_disabled.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_dash_prelight.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_dash_pressed.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_focused.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_focused_prelight.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_focused_pressed.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_unfocused.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_unfocused_prelight.svg
/snap/pinta-james-carroll/8/usr/share/themes/Radiance/unity/unmaximize_unfocused_pressed.svg
/snap/pinta-james-carroll/8/usr/share/themes/Raleigh/gtk-2.0
/snap/pinta-james-carroll/8/usr/share/themes/Raleigh/gtk-2.0/gtkrc
/snap/pinta-james-carroll/8/usr/share/thumbnailers/librsvg.thumbnailer
/snap/pinta-james-carroll/8/usr/share/upstart/sessions
/snap/pinta-james-carroll/8/usr/share/upstart/sessions/unity-gtk-module.conf
/snap/pinta-james-carroll/8/usr/share/xml/fontconfig
/snap/pinta-james-carroll/8/usr/share/xml/fontconfig/fonts.dtd
/var/cache/apparmor/snap-update-ns.pinta-james-carroll
/var/cache/apparmor/snap.pinta-james-carroll.pinta
/var/lib/snapd/apparmor/profiles/snap-update-ns.pinta-james-carroll
/var/lib/snapd/apparmor/profiles/snap.pinta-james-carroll.pinta
/var/lib/snapd/cookie/snap.pinta-james-carroll
/var/lib/snapd/desktop/applications/pinta-james-carroll_pinta.desktop
/var/lib/snapd/inhibit/pinta-james-carroll.lock
/var/lib/snapd/mount/snap.pinta-james-carroll.fstab
/var/lib/snapd/mount/snap.pinta-james-carroll.user-fstab
/var/lib/snapd/seccomp/bpf/snap.pinta-james-carroll.pinta.bin
/var/lib/snapd/seccomp/bpf/snap.pinta-james-carroll.pinta.src
/var/lib/snapd/sequence/pinta-james-carroll.json
/var/lib/snapd/snaps/pinta-james-carroll_6.snap
/var/lib/snapd/snaps/pinta-james-carroll_8.snap
/var/lib/ureadahead/snap.pinta-james-carroll.8.pack
/var/snap/pinta-james-carroll
/var/snap/pinta-james-carroll/6
/var/snap/pinta-james-carroll/8
/var/snap/pinta-james-carroll/common
/var/snap/pinta-james-carroll/current
我需要更改MTU
我新安装的 ubuntu 18.04 的大小。这可以通过ifconfig
. 但我无法安装ifconfig
。每当我运行命令时sudo apt install net-tools
,我都会收到以下错误。
Err:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1ubuntu1
Could not resolve 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb Could not resolve 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
然后我尝试sudo apt-get update
并得到以下
asif@asif-HP:~$ sudo apt-get update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not resolve 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Could not resolve 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Could not resolve 'archive.ubuntu.com'
Err:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Could not resolve 'archive.ubuntu.com'
Err:6 http://archive.canonical.com/ubuntu bionic InRelease
Could not resolve 'archive.canonical.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/bionic/InRelease Could not resolve 'archive.canonical.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not resolve 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
实际上我正在尝试更改 MTU 大小来解决问题Could not resolve 'archive.canonical.com'
,所以我有点陷入僵局。现在我该怎么做?
注意:我更改了 ubuntu 存档服务器,但总是发生相同的错误。