Author Topic: Unable update manjaro i3(solved)  (Read 1412 times)

0 Members and 1 Guest are viewing this topic.

Offline majinboo

  • Neuling
  • *
  • Posts: 42
  • I'm new. Be nice!
  • Branch: stable
  • Desktop: Xfce
  • GPU Card: Intel HD 4000
  • GPU driver: free
  • Kernel: linux3.18.20-x86_64
  • Skill: Intermediate
Unable update manjaro i3(solved)
« on: 08. February 2016, 03:02:23 »
Hello
I have big issue on update manjaro i3. Pacman doesn't update.
http://uupload.ir/viewer.php?file=tgye_2016-02-08-041535_1366x768_scrot.png
i search before write this topic and i find this topic
https://forum.manjaro.org/index.php?topic=30809.0 in this topic dear starter sed problem is solved. but i run these command
Code: [Select]
sudo pacman -S archlinux-keyring manjaro-keyring
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh
but i have problem. is there any way for this isusse?
« Last Edit: 13. February 2016, 18:21:48 by majinboo »

Offline jonathon

  • Core Team
  • *****
  • Posts: 2104
  • Technologist - Teacher - Tea drinker
  • Branch: Unstable
  • Desktop: MATE 1.14
  • GPU Card: Nvidia GTX680M
  • GPU driver: Bumblebee nvidia+intel
  • Kernel: 4.6.0-*-MANJARO x86_64
  • Skill: Advanced
Re: Unable update manjaro i3
« Reply #1 on: 10. February 2016, 21:34:39 »
Probably, but you have to tell us what the problem is. I'm going to assume the image you linked is important but it won't load for me; you could tell us the text or attach the file to the post.
« Last Edit: 10. February 2016, 21:36:16 by jonathon »
--
MSI GT70: Core i7-3630QM, 16GB, Nvidia GTX680M, Intel 2230, Manjaro-MATE-amd64-EFI
Lenovo X230: Core i5-3320M, 4GB, Intel HD4000, Intel 6205, Manjaro-MATE-amd64
Dell Studio 1749: Core i5 540, 8GB, ATi HD5650, Intel WLAN, Manjaro-Xfce-amd64
Let's go in the garden; you'll find something waiting.

Offline boruch

  • Jr. Mitglied
  • **
  • Posts: 85
  • Skill: Intermediate
Re: Unable update manjaro i3
« Reply #2 on: 12. February 2016, 21:52:40 »
My guess is that he is having the same trouble I did and what brought me to this thread. What seems to happen is that pacman does not update keyring packages first when performing an upgrade, so what happens is that an upgradable  package with an updated key will be treated by pacman as being corrupted (bad key), and so pacman aborts the ENTIRE upgrade.

In my recent case, the package that was confusng pacman was serendipitously named 'confuse', which is a requirement for an i3 package. The solution is to manually upgrade the keyring package individually, and then to perform the -u. Although @majinboo, the OP, had a solution of three pacman commands, in my case all I needed to do was update the arch keyring package.

However, that's not really a solution, and this is at least one bug in pacman:

1] pacman should check the list of packages to upgrade, and if any of them are keryings, upgrade those first

2] pacman should not abort an entire upgrade because a single package can not be upgraded. The alternative is to exclude from the update just the corrupt package and its dependent packages, and report the problem to the user.

Offline jonathon

  • Core Team
  • *****
  • Posts: 2104
  • Technologist - Teacher - Tea drinker
  • Branch: Unstable
  • Desktop: MATE 1.14
  • GPU Card: Nvidia GTX680M
  • GPU driver: Bumblebee nvidia+intel
  • Kernel: 4.6.0-*-MANJARO x86_64
  • Skill: Advanced
Re: Unable update manjaro i3
« Reply #3 on: 12. February 2016, 22:20:24 »
There's not a lot we can do to fix bugs in pacman - you're better off reporting it upstream. :)
--
MSI GT70: Core i7-3630QM, 16GB, Nvidia GTX680M, Intel 2230, Manjaro-MATE-amd64-EFI
Lenovo X230: Core i5-3320M, 4GB, Intel HD4000, Intel 6205, Manjaro-MATE-amd64
Dell Studio 1749: Core i5 540, 8GB, ATi HD5650, Intel WLAN, Manjaro-Xfce-amd64
Let's go in the garden; you'll find something waiting.

Offline majinboo

  • Neuling
  • *
  • Posts: 42
  • I'm new. Be nice!
  • Branch: stable
  • Desktop: Xfce
  • GPU Card: Intel HD 4000
  • GPU driver: free
  • Kernel: linux3.18.20-x86_64
  • Skill: Intermediate
Re: Unable update manjaro i3
« Reply #4 on: 13. February 2016, 18:20:31 »
Hello guys
I read arch wiki about pacman on this link https://wiki.archlinux.org/index.php/Pacman/Package_signing#Cannot_import_keys. I use Resetting all the keys section for solve my issue. it is solved
thanks

Offline granular

  • Neuling
  • *
  • Posts: 1
  • I'm new. Be nice!
  • Desktop: i3
  • GPU driver: no
  • Skill: Intermediate
Re: Unable update manjaro i3(solved)
« Reply #5 on: 09. May 2016, 20:49:58 »
I had the same problem of Manjaro i3 not being able to finish updating. I ran the three commands listed in the OP and then was able to update successfully.

Thanks for your help.

Prior to installing this OS (this morning), I had been running a regular Arch system that I installed "the arch way" or w/e with the i3-wm. I'm so please with Manjaro-i3... all the rough edges I hadn't taken the time to sand down are now smooth. Everything works. Can't live without i3 and this is the best implementation I've used.

 ;D