Artix Linux Forum

Artix Linux => Package management => Topic started by: cynicfm on 23 January 2019, 02:30:28

Title: is pacman upgrade necessary to perform??
Post by: cynicfm on 23 January 2019, 02:30:28
i noticed that fresh after installation of artix linux internet is blazing fast and i have no errors at all.... it just connects to every website the way it should, it has speed of sound (rapid fast).

but as soon as i perform pacman -Syyu that kills internet and internet is not just slowlier but also i get lots of resolve problems.
it seems like i don't need to download any packages to be able to play windows games via wine. so i decided i'm not gonna perform full pacman upgrade.
however would be nice if i knew how can i upgrade single package perhaps, but not sure if its even necessary.

if i havent got any issues and problems with my linux artix at the moment do i miss something if i don't perform full upgrade????

thank you!
Title: Re: is pacman upgrade necessary to perform??
Post by: Seventh on 23 January 2019, 13:15:13
i think you should only use sudo pacman -Syu not Syyu ?

You would be better doing the updates with nothing running in the background as there could be conflicts especially if in a browser while its being updated.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 23 January 2019, 13:30:30
and what's the difference between -Syu and -Syyu??
because it seems like they both wanna download the same packages. and i wouldn't mind, but as soon as i upgrade my internet starts to act not normal. right now i havent performed any upgrades after installation of lxqt.iso and my internet runs like a charm, it's so fast like i never experienced that before.
Title: Re: is pacman upgrade necessary to perform??
Post by: phoenix_king_rus on 23 January 2019, 14:08:24
and what's the difference between -Syu and -Syyu??
Syu only searches for packages in configured repos, whereas Syyu updates repos (i.e. if you changed some repos in pacman.conf the changes will apply only after Syyu)
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 23 January 2019, 14:56:01
yeah but i always heard on windows and others you need to update to keep your system stable and secure but it seems to me like my system is more stable without performing -Syu...
i have installed artix from lxqt.iso 64 bit runit and both on openrc and runit upgrading artix did mess in my system with internet.
Title: Re: is pacman upgrade necessary to perform??
Post by: Dudemanguy on 23 January 2019, 16:52:11
If simply updating packages causes internet issues, my only guess is that something about the internet drivers changed (i.e. something in the kernel) since you've had the same problem across different network connection daemons. If you feel like hunting down exactly what package is causing you the problem, you can try upgrading one by one and seeing if anything is affected. My guess would be it's probably something in the kernel (and you would need to restart after upgrading that one of course), so try that one first if you're up to it.

If you locate what exactly is causing problems for you, you may want to file a bug upstream somewhere.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 24 January 2019, 00:12:43
hey

thanks for help.
i have thought about that before, i wanted to try install single packages and see where an error occurs. however i am not very familiar to pacman, i only tried manjaro and antergos before but not for more than few days. i been on devuan before (as non systemd distro) for several months, so i am a bit more familiar with apt-get than pacman.
so you mentioned trying to update linux kernel.
I am not sure if pacman -Syu upgrades existing packages or adds new ones as well, because 2GB packages seems like a lot. I doubt it that i use all of em in everyday computer using.

so is linux kernel this package: linux-4.20.2.artix1-1
i have also no idea how to check what version of linux kernel i have at the moment. i was thinking that maybe i should try to install artix from base and perform full upgrade however i have done that with arch linux last week, but i upgraded before installing xfce still in terminal promt. and these problems with internet occured as well on arch linux, so it hasn't got anything to do with artix packages.
few days ago i performed full upgrade using just Artix repositories, however that did mess to system icons.

so perhaps what i should try is to upgrade just linux kernel (if it's linux-4.20.2.artix1-1).
perhaps i should try upgrade packages that are base and needed for using lxqt. im gonna go on arch wiki in a minute see if there are tips on how to upgrade single package using via pacman but i been there before and i haven't seen anything specific about this.
On arch linux wiki there's note in pacman website
Quote
Arch only supports full system upgrades. See System maintenance#Partial upgrades are unsupported and #Installing packages for details.
; so i am not sure how to try localize the cause of problem if i only can perform full upgrade  :-X , cuz i know that as soon as i perform full upgrade i am gonna have unusable internet again...  :'( .

thanks
Title: Re: is pacman upgrade necessary to perform??
Post by: Dudemanguy on 24 January 2019, 15:34:33
Oh you can just sync the mirror with pacman -Syy and then downloaded the latest version of any package with pacman -S (it'll fetch the latest version for you and update just the required packages). Finding the exact version where breakage occurs will require more work, but that would be at least an easy start.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 24 January 2019, 15:49:32
well, i am not sure because it isn't my work to find bugs.
i only want my system to be nice and stable. ;)
Title: Re: is pacman upgrade necessary to perform??
Post by: Dudemanguy on 24 January 2019, 16:38:01
Well sure it's ultimately up to you. Of course, never updating will eventually cause you to run into some problems, so it may be in your interest to at least know what package causes the problem.
Title: Re: is pacman upgrade necessary to perform??
Post by: Docbroke on 24 January 2019, 18:02:54
With pacman upgrading only few packages falls into the category of partial upgrades which may lead to broken system. https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported

Upgrades can become huge as many packages depend on other packages. For examples when package like linux kernel or gtk2/3 are updated all packages depending on them needs to be rebuild. However one may choose to upgrade the system only once a week or once a 15 days. Delaying upgrades for wary long time may also be troublesome, especially when major update comes in pacman, and system is left with older unsupported pacman version.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 24 January 2019, 19:01:30
i did update of those:
Code: [Select]
system/linux               4.18.12.artix1-1            4.20.2.artix1-1               7.19 MiB      72.79 MiB
system/linux-firmware      20180825.fea76a0-1          20181218.0f22c85-1          127.70 MiB      79.07 MiB
system/util-linux          2.32.1-2                    2.33.1-2                      0.99 MiB       2.01 MiB
world/xf86-input-libinput  0.28.0-1                    0.28.1-1                      0.00 MiB       0.03 MiB
world/xf86-video-intel     1:2.99.917+858+gc37c7ee0-1  1:2.99.917+858+gc37c7ee0-1    0.00 MiB      

and nothing happened with the connection. I think it's something that pacman -Syu downloads from arch repositories, some package that i haven't got installed at the moment.
i don't really use internet that much but i'd rather have stable internet than upgraded system with unstable net. i only play some single player games using wine and that's it.

i am not sure if upgrading and updating it's so necessary because let's say i wanna install artix linux on a laptop that won't be connected to internet. i can't see any reason why should i perform full upgrade and download 300 packages to play few games and browse internet???
Title: Re: is pacman upgrade necessary to perform??
Post by: Docbroke on 24 January 2019, 19:26:25
i am not sure if upgrading and updating it's so necessary because let's say i wanna install artix linux on a laptop that won't be connected to internet. i can't see any reason why should i perform full upgrade and download 300 packages to play few games and browse internet???

Any rolling release os will give you huge upgrades every few weeks. If you just want to play some games and browse internet try something like puppy linux. Small, and stable.
Title: Re: is pacman upgrade necessary to perform??
Post by: Dudemanguy on 24 January 2019, 19:34:03
and nothing happened with the connection.

Well if you're still good after that, I guess we can probably rule out any funky hardware drivers or anything like that (which is good). If you want,  you can try wpa_supplicant next and see if that messes anything up. If that one still works okay, I guess maybe you can just go one-by-one upgrading whatever you have installed on the system (you can generate a list of installed packages with pacman -Q) and testing the connection (very tedious unfortunately).

As for never, updating? Well sometimes there are nice performance updates/new features you might want. You've mentioned wine which is definitely a project worth staying up to date with. For example, wine 4.0 just came out which includes support for vulkan, game controllers and Direct3D 12. But yeah if your machine isn't connected to the internet, there's not any strong security-related reasons to stay up to date.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 24 January 2019, 20:21:41
yeah rolling releases that make internet on my system unstable. i think arch linux is unstable, because these packages that cause issues come from arch linux repositories
right now i wanted to boot into system and i had some mount.33 error and i couldn't even use keyboard because no letters appeared.

i am fed up with this. i think arch linux developers can't handle maitaining they os and  they can't develop new stuff without using google all the time. if you are developer and use google, you develop unstable crap, like my artix linux is after i perform upgrade. and it's something from arch.
i am not linux administrator i just look for some stable and nice system for playing games, i can't see the point of having bloody edge packages and everything up to date to play some medal of honor from 2003 or elder scrolls oblivion or heroes IV. i wanna be able to maitain my system without searching internet for solutions all the time because i'm sick of this process. ohh that package is missing and search engine why. fed up with this stuff....

i am looking for some nice distro that i can use and entertain myself without connecting to internet all the time, maybe even for long time. but it's annoying when i write long e-mail and i press send and i get error resolution failed and i lost email.
what you saying it sounds to me like if i have laptop for 10 months without internet connection then it gonna become unstable anyway, even without connecting to internet.

so this is my point, artix seems more stable to me before upgrading. i can't allow myself to install single packages all the time and get crashes i dont know why, i cant even use console.
so maybe somebody else should work finding bugs, not me, it's not my business. you may say it's better to perform upgrades all the time and updates but i have better experience if i don't perform one.

artix iso is from november 2018 i think. but arch linux had resolve problems as well, so it's something upstream and im too inexperienced to find this. i wanna complete few single player games not reinstall os all the time because something has crashed.  :'(
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 24 January 2019, 21:23:12
okay well, same problem happens ;). so it may be linux firmware or kernel
right now im performing full upgrade and not care about unstable net to be fair... but if im annoyed again im gonna delete all this and reinstall and never upgrade any package.

have a nice day
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 26 January 2019, 01:12:11
for some reason i performed Syu today and i used internet for 2 hours and had no problems so far ;//
it's weird maybe it's because i did Syu and not Syyu?? i don't know but it's fine at the moment, so i shouldnt be such a negative and arrogant prick.
and sorry for spamming so much, thanks for helping me with this, but it seems like the problem has disappeared... ;(
Title: Re: is pacman upgrade necessary to perform??
Post by: fungalnet on 26 January 2019, 10:07:25
The -Sy stands for synchronizing your database with what is newer in the repository/mirror.  Once you run it and it is synchronized if you run it again it doesn't change.  If you run -Syy it will download from the repository anyway and overwrite your db.  The end result should still be the same.  -Su is for Upgrading any installed package with a newer one that is available.  So running -Sy and then -Su is the same as running -Syu or -Suy.  If you change mirrors you should run -Syy because there may be a chance that there may be something older in the new mirror.

There may have been a discrepancy in the firmware between the ones in the installer that was diagnosed and reported to arch (by someone who could diagnose it) and it is now fixed.    It may have been the linux-firmware pkg and it had changed from the shift from 4.19 to 4.20.  You will never know now, and since you are ok forget it.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 26 January 2019, 13:14:29
so you're saying that somebody localized and and fixed it yesterday???

if yes, then it took them quite long :P. over a month?? i think i installed artix in start of december...
anyways it's nice now. so cool
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 01 February 2019, 11:39:04
i still get these annoying issues... cant play steam games because of this ;//
i created a topic about it on arch linux forum (it all started on artix)
https://bbs.archlinux.org/viewtopic.php?pid=1829697
i also put dmesg logs there...

wonder if for some reason it's gonna get fixed somehow ;//
Title: Re: is pacman upgrade necessary to perform??
Post by: Seventh on 01 February 2019, 12:27:10
That will get dust binned quicksmart as soon as mods find out you are using artix i think? They willonly support arch linux systemd installed by their methods, i wouldnt even bother trying over there.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 01 February 2019, 13:05:24
hahah, yeah they already deleted it xD.
well i found some stuff on internet and basically it seems like bug its related to ath10k that i have in this laptop and intel cpu kaby lake series cuz people were having similar problems to mine
somebody put as a solution toe dit grub.cfg and add line pci=noaer or nomsi
i edited it added pci=noaer and gonna find if that helped... usually if something is wrong and i play games on steam i get no user logon after about 5 minutes.

i had mess in grub.cfg...
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT=that had mess
now i have that:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"
GRUB_CMDLINE_LINUX="text pci=noaer"
and it is pretty stable now it is atm like after i install artix lxqt before i perform full upgrade.
it seems like something during upgrade on arch distros does mess to grub.cfg
but its ok now i think gonna report if its not, but so far its very stable and good.
looking at dmesg errors helped me to find an error
Title: Re: is pacman upgrade necessary to perform??
Post by: Seventh on 01 February 2019, 13:30:53
What are your system specs cynicfm, i mean what sort of computer hardware are you using?

Maybe install a program called inxi and do below command and post it.

Inxi is a great CLI system information tool, its not packaged by arch linux but artix do have it packaged up so you dont have to go to AUR for it.

https://aur.archlinux.org/packages/inxi/

Code: [Select]
inxi -F
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 01 February 2019, 14:00:37
if i check dmesg i have this error:
Code: [Select]
[ 3499.460338] pcieport 0000:00:1d.3: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)                                    
[ 3499.460341] pcieport 0000:00:1d.3:   device [8086:9d1b] error status/mask=00001000/00002000                                                     
[ 3499.460347] pcieport 0000:00:1d.3:    [12] Timeout
and it seems like changing something in grub.cfg didnt fix it ;/.

inxi -F
Code: [Select]
System:
  Host: zalew Kernel: 4.20.6-artix1-1-ARTIX x86_64 bits: 64
  Desktop: LXQt 0.13.0 Distro: Artix rolling
Machine:
  Type: Laptop System: Acer product: Aspire F5-573G v: V1.18
  serial: NXGD4EP013702125AD7600
  Mobo: Acer model: Captain_SK v: V1.18 serial: NBGD811005702125AD7600
  UEFI [Legacy]: Insyde v: 1.18 date: 10/21/2016
Battery:
  ID-1: BAT1 charge: 32.2 Wh condition: 32.2/41.4 Wh (78%)
CPU:
  Topology: Dual Core model: Intel Core i5-7200U bits: 64 type: MT MCP
  L2 cache: 3072 KiB
  Speed: 729 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 800
  2: 800 3: 800 4: 800
Graphics:
  Device-1: Intel HD Graphics 620 driver: i915 v: kernel
  Device-2: NVIDIA GM107 [GeForce 940MX] driver: nvidia v: 415.27
  Display: x11 server: X.org 1.20.3 driver: modesetting
  unloaded: fbdev,intel,vesa resolution: <xdpyinfo missing>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
  Sound Server: ALSA v: k4.20.6-artix1-1-ARTIX
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
  driver: ath10k_pci
  IF: wlp3s0 state: up mac: 58:00:e3:98:2e:03
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp4s0f1 state: down mac: a8:1e:84:35:b6:ee
Drives:
  Local Storage: total: 931.51 GiB used: 116.62 GiB (12.5%)
  ID-1: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB
  size: 931.51 GiB
Partition:
  ID-1: / size: 25.51 GiB used: 7.92 GiB (31.1%) fs: ext4
  dev: /dev/sda9
  ID-2: /home size: 191.25 GiB used: 96.49 GiB (50.5%) fs: ext4
  dev: /dev/sda6
  ID-3: swap-1 size: 3.87 GiB used: 102.2 MiB (2.6%) fs: swap
  dev: /dev/sda5
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 175 Uptime: 1h 01m Memory: 3.72 GiB
  used: 739.1 MiB (19.4%) Shell: bash inxi: 3.0.26

i dont know why that happens. when i get into artix everything is perfect and amazing for about ten or fifteen minutes. then again, steam losts connection. cant browse internet unless i type dhcpcd wlp3s0 in terminal again then it will be ok just for a moment and then more and more resolve problems :((
im clueless its tirying ;///

ok i found solution and its ok now
i basically type in terminal
Code: [Select]
watch -n1 -x dhcpcd wlp3s0
and internet its ok now ;). it only will connect me to it every one second but i can play all games and browse it comfortably now.
still i dont know whats causing the issue though ;)
Title: Re: is pacman upgrade necessary to perform??
Post by: ####### on 02 February 2019, 22:27:50
I'm not sure what you use to connect to the net as standard, as Google isn't showing me a package list for the latest iso's and there isn't one on the download page, but I guess it could be networkmanager. So it's possible that using dhcpd directly is an alternative way to connect, and it's conflicting with networkmanager, which is why you have to keep re-issuing the dhcpcd command. So you could fix the networkmanager issues or delete it and set up dhcpcd, or try wicd, or something else...
I've had something for a long while now using just dhcpcd and wpa_supplicant and an Intel wireless card, occasionally I get a 'slow' connection. disconnecting and reconnecting, sometimes a number of times seems to get rid of it usually although very occasionally trying again later is needed. Sometimes I connect and it starts out OK but gets slow after a couple of minutes, restarting the browser and wireless might give a short spell of faster access before it slows again, or clears up. But is that ISP throttling or my OS, or the wireless using G not N? And I don't always get routed through the same server when I make a connection, perhaps retrying gets a less busy one sometimes.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 03 February 2019, 02:28:22
yeah i have something similar as well but for me its like it slows to the point where it will say cannot resolve 10000 miliseconds when i use pacman or in web browser err resoultion failed
and i dont think its just networkmanager because i already deleted it and i use only dhcpcd but i have command here watch -n3 -x dhcpcd wlp3s0 and it makes connection every 3 seconds and its ok. sometimes i have to type dhcpcd as well

but i also installed arch linux and i had the same issue there and my first connection to internet was using dhcpcd and after installing xfce i had same issues couldnt really web browse cuz resolution errors
having same issues on manjaro too i have manjaro with openbox (systemd as well). same errors happen

but on mint or devuan everything is ok. i have no idea what's causing the issue though. at the moment i turned off watch command and internet seems to be ok for now but it doesnt last forever
Title: Re: is pacman upgrade necessary to perform??
Post by: ####### on 03 February 2019, 04:39:10
I expect your issue is different, as my occasional slow connection has been there since I got this hardware perhaps 9 or 10 months ago, which has not really caused much trouble anyway, so the difference when you upgrade must be another thing. You can downgrade individual packages sometimes when a problem occurs, if the version dependencies allow, or install the lts kernel instead of the regular one, to try and isolate the problem. But it's more difficult guessing the troublesome one if you are upgrading everything after a fresh install, rather than just a few packages on a regular update, and it might be difficult downgrading a long way back too.
Title: Re: is pacman upgrade necessary to perform??
Post by: cynicfm on 03 February 2019, 23:18:53
yeah my internet is okay for 5 minutes then basically if i wanna get onto another website then basically it hangs load for a minute then err resolution failed
if i pacman -syu i get 10000 miliseconds something blablabla

i didnt find fix but i found solution now everytime i turn my computer on and wanna go on internet i realised that when it hangs if i type dhcpcd wlp3s0 it will connect me to website. so i type watch -n3 (3 seconds) -x dhcpcd wlp3s0 and it will type that command in terminal every 3 seconds and now internet hasnt got any flaw or anything it runs like it's desired to run. ;)