Author Topic: Updating issues and Pamac  (Read 829 times)

0 Members and 1 Guest are viewing this topic.

Offline klaatu

  • Neuling
  • *
  • Posts: 46
  • I'm an alien. Be nice!
  • Skill: Novice
Updating issues and Pamac
« on: 05. May 2013, 06:24:28 »
Just wondering something:
lately it was almost impossible to get updates without any hickups, so I had to fix it manually.

Most of the time I got errors like:
Quote
transaction could not be initialized...

Found proper advice on the fantastic forum, but being new to Manjaro (and pacman) I wonder:

Would it be possible to...
instead of just showing the error in a message window to have a second button that applies the fixes automatically?

I'm sure some fellas in this forum with Arch/Pacman experience might now think:
Quote
Man, this silly goose wants to be spoon-fed...

And I'm utterly sorry for my ignorance in this regard, but maybe it's possible to offer "FIX" buttons that apply fixes according to the error.

Example:
This error:
Quote
transaction could not be initialized, pm_errno 10 (unable to lock database)

has this fix:
Code: [Select]
sudo rm -v /var/lib/pacman/db.lck
sudo pacman -Syu

Which worked 100% of the time for the error mentioned above.

This being said, I would like to recommend to add some "FIX" functions/buttons to Pamac.
It would ease the updates tremendously as (searching the forum) I'm not the only one that "can't help himself".

Also the fixes are almost the same (no matter what clashes happened) maybe 3 or 4 different fixes solve 90% of the problems.
Just thinking outside the box...

Thanks for reading.


Offline ringo

  • Held Mitglied
  • *****
  • Posts: 9684
  • www.manjaro-nl.org
    • Manjaro Belgium + forum
  • Branch: unsourced
  • Desktop: xfce
  • GPU Card: Nvidia Geforce 8600 GT (acer 23inch)
  • GPU driver: Free*
  • Kernel: linux kernel
  • Skill: Novice
Re: Updating issues and Pamac
« Reply #1 on: 05. May 2013, 10:06:30 »
big updates or updates with systemd or more systemic change i prefer pacman, but now a days we get updates faster so, updates arent big anymore as before so, with pamac you can do more. only when faulty breakoff you get /tmp/pamac.pid or db.lck of pacman.

yes indeed your idea is good i should write it here ; http://forum.manjaro.org/index.php?topic=1072.255#lastPost

then he can read it also the pamac developer :p

that sort of button sitting also in some other so, you can also report to this. report in newb corner mayby he can miss it :p who knows :)

but with this he dont miss it :)

thanx for placement on forum :)
Dutch go the dutch site :)