• Pacman & zfs: "Oh, boy! Are we going to try something dangerous?"


    I tried to update to antergos/mate-desktop 1.14 from community/mate-desktop on an Arch system in VirtualBox and it made the machine fail to start Xorg with a black screen.

    pacman -Ss mate-desktop
    community/mate-desktop 1.12.1-1 (mate) [installed]
        Library with common API for various MATE modules (GTK2 version)
    community/mate-desktop-gtk3 1.12.1-1 (mate-gtk3)
        Library with common API for various MATE modules (GTK3 version
        [EXPERIMENTAL])
    antergos/mate-desktop 1.14.1-2 [installed: 1.12.1-1]
        Library with common API for various MATE modules
    

    All I did was pacman -S antergos/mate-desktop. It completed without error or warnings and the machine would no longer start Xorg. Rather than debug this, I just rolled back my zvol to yesterday’s snapshot. (Here is how you run a VirtualBox VM on a zvol. Strange the info is not easier to find…)

    I was kind of surprised to see the antergos repo because I was running a generic Arch system. I set it up because I wanted to see how much work it would be to start from scratch, the Arch way(the hard way?) vs. Antergos.

    The subject line is what the NPC Floyd used to say when you saved game in Planetfall. It might be funny if ZFS or BTRFS would say this when snapshotting.

    It occurs to me that if COW filesystems with cheap/easy snapshots become common, package managers will probably get worse because it will be trivial to revert the system to a previous, working state. So a package manager behaving badly will be a minor hassle instead of a show-stopper.

  • Hi! That is not how upgrades are installed with pacman. You must do it properly using pacman -Syu. The command you used is for installing a single package. Let me know if you have any questions.

  • @lots.0.logs

    Well, if you run pacman -Syu at the command prompt you get this:

    >pacman -Syu antergos/mate-desktop
    :: Synchronizing package databases...
     core is up to date         0.0   B  0.00B/s 00:00 [----------------------]   0%
     extra is up to date        0.0   B  0.00B/s 00:00 [----------------------]   0%
     community is up to date    0.0   B  0.00B/s 00:00 [----------------------]   0%
     multilib is up to date     0.0   B  0.00B/s 00:00 [----------------------]   0%
     antergos is up to date     0.0   B  0.00B/s 00:00 [----------------------]   0%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (9) gobject-introspection-1.48.0-1  python-beaker-1.8.0-1
                 python-mako-1.0.4-1  python-markupsafe-0.23-3
                 python-packaging-16.7-1  python-pyparsing-2.1.4-1
                 python-setuptools-1:23.0.0-1  python-six-1.10.0-1
                 mate-desktop-1.14.1-2
    
    Total Download Size:    1.97 MiB
    Total Installed Size:  16.50 MiB
    
    :: Proceed with installation? [Y/n] n
    

    If you run pacman -S antergos/mate-desktop you get exactly the same thing (assuming the databases are current):

    >pacman -S antergos/mate-desktop
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (9) gobject-introspection-1.48.0-1  python-beaker-1.8.0-1
                 python-mako-1.0.4-1  python-markupsafe-0.23-3
                 python-packaging-16.7-1  python-pyparsing-2.1.4-1
                 python-setuptools-1:23.0.0-1  python-six-1.10.0-1
                 mate-desktop-1.14.1-2
    
    Total Download Size:    1.97 MiB
    Total Installed Size:  16.50 MiB
    
    :: Proceed with installation? [Y/n] n
    

    Not sure what this stuff breaks on my VM…mate-desktop-1.12 works fine.

boy1 dangerous1 zfs34 pacman80 Posts 3Views 566
Log in to reply