You are not logged in.

#1 2018-12-27 12:38:09

6c656c
Member
Registered: 2018-03-02
Posts: 18

I've been installing packages with pacman -Sy

Hi there! I've been installing packages with the following command:

pacman -Sy

Since I've had some problems in the past using only -S. I've learned the hard way that I must not use that command without -u. However, I've been doing this for so long that downgrading each package individually is not an option. How am I supposed to fix that?

Also, when I try to upgrade (with pacman -Syu) I need to replace a lot of packages and remove conflicting packages:

:: Starting full system upgrade...
:: Replace attica-qt5 with extra/attica? [Y/n] y
:: Replace ca-certificates-cacert with core/ca-certificates? [Y/n] y
:: Replace compositeproto with extra/xorgproto? [Y/n] y
:: Replace damageproto with extra/xorgproto? [Y/n] y
:: Replace dmxproto with extra/xorgproto? [Y/n] y
:: Replace dri2proto with extra/xorgproto? [Y/n] y
:: Replace dri3proto with extra/xorgproto? [Y/n] y
:: Replace fixesproto with extra/xorgproto? [Y/n] y
:: Replace fontsproto with extra/xorgproto? [Y/n] y
:: Replace glproto with extra/xorgproto? [Y/n] y
:: Replace inputproto with extra/xorgproto? [Y/n] y
:: Replace kbproto with extra/xorgproto? [Y/n] y
:: Replace libx264 with extra/x264? [Y/n] y
:: Replace mime-types with extra/mailcap? [Y/n] y
:: Replace presentproto with extra/xorgproto? [Y/n] y
:: Replace qca-qt5 with extra/qca? [Y/n] y
:: Replace randrproto with extra/xorgproto? [Y/n] y
:: Replace recordproto with extra/xorgproto? [Y/n] y
:: Replace renderproto with extra/xorgproto? [Y/n] y
:: Replace resourceproto with extra/xorgproto? [Y/n] y
:: Replace rfkill with core/util-linux? [Y/n] y
:: Replace scrnsaverproto with extra/xorgproto? [Y/n] y
:: Replace videoproto with extra/xorgproto? [Y/n] y
:: Replace xextproto with extra/xorgproto? [Y/n] y
:: Replace xf86dgaproto with extra/xorgproto? [Y/n] y
:: Replace xf86driproto with extra/xorgproto? [Y/n] y
:: Replace xf86vidmodeproto with extra/xorgproto? [Y/n] y
:: Replace xineramaproto with extra/xorgproto? [Y/n] y
:: Replace xproto with extra/xorgproto? [Y/n] y
resolving dependencies...
looking for conflicting packages...
:: util-linux and rfkill are in conflict. Remove rfkill? [y/N] y
:: ca-certificates and ca-certificates-cacert are in conflict. Remove ca-certificates-cacert? [y/N] y
:: x264 and libx264 are in conflict. Remove libx264? [y/N] y
:: attica and attica-qt5 are in conflict. Remove attica-qt5? [y/N]

but I'm not sure if I'm supposed to just confirm everything, because in the end something might get broken and I don't want to go that way. Is it safe to do that?

Offline

#2 2018-12-27 13:02:57

loqs
Member
Registered: 2014-03-06
Posts: 19,106

Re: I've been installing packages with pacman -Sy

Accepting pacman's default recommended action is intended to be safe.  There are no guarantees but the default choice on replace/conflict is the one the package maintainer intended.

Offline

#3 2018-12-27 13:43:27

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,703
Website

Re: I've been installing packages with pacman -Sy

Mod note: Not an Apps/DE question, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2018-12-27 15:43:26

6c656c
Member
Registered: 2018-03-02
Posts: 18

Re: I've been installing packages with pacman -Sy

loqs wrote:

Accepting pacman's default recommended action is intended to be safe.  There are no guarantees but the default choice on replace/conflict is the one the package maintainer intended.

Thanks a lot.

Offline

#5 2018-12-27 15:58:56

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: I've been installing packages with pacman -Sy

That is a very long list of extremely old packages that have been dropped from our repos. As loqs said, these are all replacements that were supposed to have happened one by one over the past couple years, for people who used -Syu.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2018-12-27 18:36:12

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: I've been installing packages with pacman -Sy

Note that regardless of whether you are installing new packages, you should be running "pacman -Syyu" at regular intervals. I mean, at least fortnightly; preferably once or twice per week.

The longer you leave it between upgrades, the more likely you will have breakage, and the more complicated it will be to fix any breakage.

This isn't a "set it and forget it" distro.

Offline

#7 2018-12-27 18:39:26

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,703
Website

Re: I've been installing packages with pacman -Sy

/dev/zero wrote:

Note that regardless of whether you are installing new packages, you should be running "pacman -Syyu" at regular intervals.

Not '-Syyu'. Just '-Syu'. The former is a waste of community resource. See https://bbs.archlinux.org/viewtopic.php … 7#p1823357 for a recent explanation about this.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#8 2018-12-27 18:42:54

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: I've been installing packages with pacman -Sy

WorMzy wrote:

Not '-Syyu'. Just '-Syu'. The former is a waste of community resource. See https://bbs.archlinux.org/viewtopic.php … 7#p1823357 for a recent explanation about this.

Thanks, I guess things have changed over the last few years smile It used to seem like the double-y was required to prevent some forms of breakage (I can't remember what now). I'll switch to "-Syu" from now on.

Offline

#9 2018-12-27 18:47:56

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: I've been installing packages with pacman -Sy

It is more than just a waste, it actually leaves you vulnerable to partial updates if you do it when switching mirrors, which includes if the first mirror times out and you end up using the second mirror on your mirrorlist. Again, explained in detail in the other thread.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#10 2018-12-27 22:08:22

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: I've been installing packages with pacman -Sy

eschwartz wrote:

It is more than just a waste, it actually leaves you vulnerable to partial updates if you do it when switching mirrors, which includes if the first mirror times out and you end up using the second mirror on your mirrorlist. Again, explained in detail in the other thread.

Having read the other thread, I realise that as an oldish (and nowadays less community-involved) user I also had the same impression that -Syyu is useful when switching mirrors. Thankfully the number of instances of -Syy in the wiki are vanishingly small so this shouldn't be an issue with those who are more up to date.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#11 2018-12-27 22:23:00

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: I've been installing packages with pacman -Sy

ngoonee wrote:
eschwartz wrote:

It is more than just a waste, it actually leaves you vulnerable to partial updates if you do it when switching mirrors, which includes if the first mirror times out and you end up using the second mirror on your mirrorlist. Again, explained in detail in the other thread.

Having read the other thread, I realise that as an oldish (and nowadays less community-involved) user I also had the same impression that -Syyu is useful when switching mirrors. Thankfully the number of instances of -Syy in the wiki are vanishingly small so this shouldn't be an issue with those who are more up to date.

I explicitly went through and deleted a bunch of them, but apparently was less thorough than I thought...

Also I haven't touched the non-English pages...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB