Author Topic: [How-To] Short pacman tips:  (Read 33325 times)

0 Members and 1 Guest are viewing this topic.

Offline Otacon

  • Vollwertiges Mitglied
  • ***
  • Posts: 130
  • Branch: Stable
  • Desktop: Xfce
  • GPU Card: nVidia 9400M
  • GPU driver: non-free
  • Kernel: 3.14
  • Skill: Intermediate
Re: [How-To] Short pacman tips:
« Reply #60 on: 11. February 2014, 11:22:27 »
Hi all  :)

To use yaourt to upgrade both official repos & AUR use the following command:
Code: [Select]
sudo yaourt -Syua
it's not recommended to launch yaourt in root, isen't it ?

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: [How-To] Short pacman tips:
« Reply #61 on: 11. February 2014, 11:32:15 »
Hi all  :)

To use yaourt to upgrade both official repos & AUR use the following command:
Code: [Select]
sudo yaourt -Syua
it's not recommended to launch yaourt in root, isen't it ?

it is not recommended to run yaourt  as root, because yaourt downloads, builds, and installs packages (pacman only downloads and installs them). when you run the build process as root, your computer could get easily compromised.
Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline Otacon

  • Vollwertiges Mitglied
  • ***
  • Posts: 130
  • Branch: Stable
  • Desktop: Xfce
  • GPU Card: nVidia 9400M
  • GPU driver: non-free
  • Kernel: 3.14
  • Skill: Intermediate
Re: [How-To] Short pacman tips:
« Reply #62 on: 11. February 2014, 11:46:08 »
So we should change the wiki. ;)

Edit : done.
« Last Edit: 11. February 2014, 11:57:02 by Otacon »

Offline inukaze

  • Jr. Mitglied
  • **
  • Posts: 50
    • Inukaze
  • Branch: stable
  • Desktop: Xfce, Trinity , Lxde , Lxde/qt , E16 , E17 , E18 , E19 , OpenBox , KDE4
  • GPU Card: Intel 945G / Nvidia GeForce 6200 TurboCache / Nvidia nForce 630a
  • GPU driver: non-free nvidia
  • Kernel: Linux Distro Kernel x86 / x86_64
  • Skill: Advanced
Re: [How-To] Short pacman tips:
« Reply #63 on: 13. August 2015, 06:48:55 »
Hi there , someone can tell me , if possible add to some file like "/etc/pacman.conf"

to add line for options

"--force"
"--noconfirm"

because ever i try to install something , or update something , pacman ever says "... exist in the filesystem" and without "--force" not install it , if i dont delete each file and folder , the package use

and "--noconfirm" because i ever "accept" to install when i use pacman

thank you

Offline xircon

  • Held Mitglied
  • *****
  • Posts: 1064
  • Branch: Unstable
  • Desktop: Plasma
  • GPU Card: Intel 4th gen
  • GPU driver: free
  • Kernel: Always the newest!
  • Skill: Advanced
Re: [How-To] Short pacman tips:
« Reply #64 on: 13. August 2015, 10:52:01 »
Create a bash alias e.g.:
Code: [Select]
alias upd="sudo pacman -Syyuu --noconfirm --force "
« Last Edit: 13. August 2015, 11:02:36 by xircon »

Offline Esclapion

  • Support Team
  • ****
  • Posts: 5523
    • manjaro
  • Branch: stable
  • Desktop: Lxqt
  • GPU Card: GTX 970
  • GPU driver: nonfree
  • Kernel: 4.4.6
  • Skill: Advanced
Re: [How-To] Short pacman tips:
« Reply #65 on: 13. August 2015, 10:59:36 »
HI xircon  :)

pacman doesnt have -a option, yaourt only. And --force by default is dangerous imho.
Venez nous rejoindre sur l'IRC francophone
Patrice - Violence is the last refuge of the incompetent (Asimov)

Offline xircon

  • Held Mitglied
  • *****
  • Posts: 1064
  • Branch: Unstable
  • Desktop: Plasma
  • GPU Card: Intel 4th gen
  • GPU driver: free
  • Kernel: Always the newest!
  • Skill: Advanced
Re: [How-To] Short pacman tips:
« Reply #66 on: 13. August 2015, 11:03:58 »
Edited typo, just woke up.  And he asked, we are all adults responsible for our own actions  :o

Offline inukaze

  • Jr. Mitglied
  • **
  • Posts: 50
    • Inukaze
  • Branch: stable
  • Desktop: Xfce, Trinity , Lxde , Lxde/qt , E16 , E17 , E18 , E19 , OpenBox , KDE4
  • GPU Card: Intel 945G / Nvidia GeForce 6200 TurboCache / Nvidia nForce 630a
  • GPU driver: non-free nvidia
  • Kernel: Linux Distro Kernel x86 / x86_64
  • Skill: Advanced
Re: [How-To] Short pacman tips:
« Reply #67 on: 13. August 2015, 13:29:14 »
and how you make an "alias" for when you need install a list of package , can be 1 or multiples names ???

Offline Esclapion

  • Support Team
  • ****
  • Posts: 5523
    • manjaro
  • Branch: stable
  • Desktop: Lxqt
  • GPU Card: GTX 970
  • GPU driver: nonfree
  • Kernel: 4.4.6
  • Skill: Advanced
Re: [How-To] Short pacman tips:
« Reply #68 on: 13. August 2015, 14:12:43 »
and how you make an "alias" for when you need install a list of package , can be 1 or multiples names ???

Same ? You can push several names on the command line.
Venez nous rejoindre sur l'IRC francophone
Patrice - Violence is the last refuge of the incompetent (Asimov)

Offline Ste74

  • Support Team
  • ****
  • Posts: 1256
  • sudo pacman -Rs windows && sudo pacman -S manjaro
  • Branch: unstable
  • Desktop: Budgie / Gnome / Pantheon (testing)
  • GPU Card: ATI/Intel mobility radeon hd 5400
  • GPU driver: free
  • Kernel: linux4.x -x86_64 series
  • Skill: Advanced
Re: [How-To] Short pacman tips:
« Reply #69 on: 13. August 2015, 15:00:19 »
Create a bash alias e.g.:
Code: [Select]
alias upd="sudo pacman -Syyuu --noconfirm --force "
Not all are adult .. no confirm And force option is most dangerus action..
Example with the force option pacman do not truck the pkg forced.
No confirm in case of conflict is right ?
 :-X
Pantheon Community Edition & Budgie Desktop Edition
www.forum.manjaro-it.org
Canale IRC italiano
#manjaro-it

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: [How-To] Short pacman tips:
« Reply #70 on: 13. August 2015, 15:26:02 »
I've been using pacman & yaourt (or its relatives - only yaourt in Manjaro) for ~7.5 years & in all of that time, I have only ever needed to use --force on extremely rare occassions.

Though I use --noconfirm everyday, (except if I'm travelling & away from my Linux box), for well over a year now, since I modified the allservers script to do so (--noconfirm is now used by default in a couple of the allservers menu options). Using --noconfirm in allservers has never caused me any problems. --noconfirm is best used in a script - such as allservers.
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline Fatboy

  • Sr. Mitglied
  • ****
  • Posts: 323
  • "Spiral out. Keep going..."
  • Branch: stable
  • Desktop: Xfce, KDE plasma 5
  • GPU Card: nVidia GeForce 210
  • GPU driver: 340.xx
  • Kernel: Manjaro Kernel 4.4 LTS
  • Skill: Intermediate
Re: [How-To] Short pacman tips:
« Reply #71 on: 18. January 2016, 13:38:37 »
Awesome WIKI page! Thank You!
"I'm reaching for the random or whatever will bewilder me. Whatever will bewilder me."