![处理包 initramfs-tools 时出错,设备上没有剩余空间](https://linux22.com/image/1102024/%E5%A4%84%E7%90%86%E5%8C%85%20initramfs-tools%20%E6%97%B6%E5%87%BA%E9%94%99%EF%BC%8C%E8%AE%BE%E5%A4%87%E4%B8%8A%E6%B2%A1%E6%9C%89%E5%89%A9%E4%BD%99%E7%A9%BA%E9%97%B4.png)
我在 4GB 的 U 盘上有一个 Ubuntu 的永久副本(使用 pendrivelinux 制作)。我尝试安装 ENG 语言支持(意外删除后),但收到一条错误消息:
error processing package initramfs-tools No space left on device.
我已经做了
sudo apt-get remove
sudo apt-get clean
sudo apt-get autoremove
之后 df -h 是:
Filesystem Size Used Avail Use% Mounted on
/cow 2.7G 1.9G 742M 72% /
udev 3.0G 4.0K 3.0G 1% /dev
tmpfs 599M 1.2M 598M 1% /run
/dev/sdc1 3.8G 3.8G 2.0K 100% /cdrom
/dev/loop0 936M 936M 0 100% /rofs
none 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs 3.0G 2.4M 3.0G 1% /tmp
none 5.0M 0 5.0M 0% /run/lock
none 3.0G 336K 3.0G 1% /run/shm
none 100M 72K 100M 1% /run/user
/dev/sdb1 1.9T 1.2T 652G 66% /media/ubuntu/USB-HDD
/dev/loop1 2.7G 1.9G 742M 72% /media/ubuntu/casper-rw
/dev/sda3 459G 370G 89G 81% /media/ubuntu/Packard Bell
/dev/sda4 459G 121G 339G 27% /media/ubuntu/DATA
我能做什么吗?顺便说一句,这是我第一次使用 Ubuntu。
预计到达时间:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1a72457f
Device Boot Start End Blocks Id System
/dev/sda1 2048 29362175 14680064 27 Hidden NTFS WinRE
/dev/sda2 * 29362176 29566975 102400 7 HPFS/NTFS/exFAT
/dev/sda3 29566976 991008767 480720896 7 HPFS/NTFS/exFAT
/dev/sda4 991008768 1953521663 481256448 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa48d32de
Device Boot Start End Blocks Id System
/dev/sdb1 63 3907024064 1953512001 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 4009 MB, 4009754624 bytes
126 heads, 22 sectors/track, 2825 cylinders, total 7831552 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe4ad4591
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 7831551 3914752 c W95 FAT32 (LBA)
答案1
根据我们的聊天以及您对最终结果是便携式视频编辑解决方案的要求,我建议您重新开始使用实时媒体并安装到更大的媒体,然后在更大的媒体而不是实时媒体上对安装进行修改。