[aur-general] reinstalling properly an AUR app
Hello, I am trying to reinstall an AUR app, Texstudio. This app was working perfectly before I did yesterday a huge upgrade. I understand I must rebuilt the app with the new libpoppler-qt. I built it fine with "makepkg -i", but can't install as I get errors about files already in my filesystem (in fact all Texstudio files). When I installed first time Texstudio, I built it from source and I did not a clean install, as pacman -Q doesn't return the app in the list. How can I deal with this issue? Is there any way to force the install ? Should I uninstall first Texstudio, and how? Can I just deleted all existing files (mainly /usr/bin/texstudio, usr/share/texstudio directory and /usr/share/applications/texstudio.desktop)? I tried by renaming them to .bck, but there is still a problem with the desktop file. TY for any help.
Arno Gaboury dixit (2012-06-13, 18:51):
Hello,
Hi!
I am trying to reinstall an AUR app, Texstudio. This app was working perfectly before I did yesterday a huge upgrade. I understand I must rebuilt the app with the new libpoppler-qt. I built it fine with "makepkg -i", but can't install as I get errors about files already in my filesystem (in fact all Texstudio files). When I installed first time Texstudio, I built it from source and I did not a clean install, as pacman -Q doesn't return the app in the list.
How can I deal with this issue? Is there any way to force the install ? Should I uninstall first Texstudio, and how? Can I just deleted all existing files (mainly /usr/bin/texstudio, usr/share/texstudio directory and /usr/share/applications/texstudio.desktop)? I tried by renaming them to .bck, but there is still a problem with the desktop file.
TY for any help.
There are few way to go. The following seems to be the easiest for me: Just build your package with makepkg (which seems to be done already if makepkg tells you that files are already in your system). You should be able to find it in directory you were building it (unless you set it differently via /etc/makepkg.conf). Than just use pacman to install package and force it to replace files that are already in the system by adding the following options: -Uf And than full name and position of your package. You can find their descriptions in pacman manual[1]. Hope this helps. [1] - http://www.archlinux.org/pacman/pacman.8.html#_upgrade_options_apply_to_em_s... -- Regards Marcin 'sirmacik' Karpezo http://sirmacik.net
On 06/13/2012 07:02 PM, Marcin 'sirmacik' Karpezo wrote:
Arno Gaboury dixit (2012-06-13, 18:51):
Hello, Hi!
I am trying to reinstall an AUR app, Texstudio. This app was working perfectly before I did yesterday a huge upgrade. I understand I must rebuilt the app with the new libpoppler-qt. I built it fine with "makepkg -i", but can't install as I get errors about files already in my filesystem (in fact all Texstudio files). When I installed first time Texstudio, I built it from source and I did not a clean install, as pacman -Q doesn't return the app in the list.
How can I deal with this issue? Is there any way to force the install ? Should I uninstall first Texstudio, and how? Can I just deleted all existing files (mainly /usr/bin/texstudio, usr/share/texstudio directory and /usr/share/applications/texstudio.desktop)? I tried by renaming them to .bck, but there is still a problem with the desktop file.
TY for any help. There are few way to go. The following seems to be the easiest for me:
Just build your package with makepkg (which seems to be done already if makepkg tells you that files are already in your system). You should be able to find it in directory you were building it (unless you set it differently via /etc/makepkg.conf).
Than just use pacman to install package and force it to replace files that are already in the system by adding the following options:
-Uf
And than full name and position of your package. You can find their descriptions in pacman manual[1].
Hope this helps.
[1] - http://www.archlinux.org/pacman/pacman.8.html#_upgrade_options_apply_to_em_s...
TY for your answer. It is what I did. Now why do I need to sudo to start texstudio??
Arno Gaboury dixit (2012-06-13, 19:52):
TY for your answer. It is what I did. Now why do I need to sudo to start texstudio??
I do not know, first thing that comes to mind: Are you sure you haven't build your package as root? -- Regards Marcin 'sirmacik' Karpezo http://sirmacik.net
On 06/13/2012 08:24 PM, Marcin 'sirmacik' Karpezo wrote:
Arno Gaboury dixit (2012-06-13, 19:52):
TY for your answer. It is what I did. Now why do I need to sudo to start texstudio?? I do not know, first thing that comes to mind: Are you sure you haven't build your package as root? No. Ran "makepkg"
Check the file permissions of the executable. On Wed, Jun 13, 2012 at 08:31:09PM +0200, Arno Gaboury wrote:
On 06/13/2012 08:24 PM, Marcin 'sirmacik' Karpezo wrote:
Arno Gaboury dixit (2012-06-13, 19:52):
TY for your answer. It is what I did. Now why do I need to sudo to start texstudio?? I do not know, first thing that comes to mind: Are you sure you haven't build your package as root? No. Ran "makepkg"
On 06/13/2012 08:47 PM, Markus Unterwaditzer wrote:
Check the file permissions of the executable.
On Wed, Jun 13, 2012 at 08:31:09PM +0200, Arno Gaboury wrote:
On 06/13/2012 08:24 PM, Marcin 'sirmacik' Karpezo wrote:
Arno Gaboury dixit (2012-06-13, 19:52):
TY for your answer. It is what I did. Now why do I need to sudo to start texstudio?? I do not know, first thing that comes to mind: Are you sure you haven't build your package as root? No. Ran "makepkg"
already did it. Nevermind, as I was not totally satisfied with this app, moved to another similar one and removed it.
Now everything is OK :-)
Hello,
I am trying to reinstall an AUR app, Texstudio. This app was working perfectly before I did yesterday a huge upgrade. I understand I must rebuilt the app with the new libpoppler-qt. I built it fine with "makepkg -i", but can't install as I get errors about files already in my filesystem (in fact all Texstudio files). When I installed first time Texstudio, I built it from source and I did not a clean install, as pacman -Q doesn't return the app in the list.
How can I deal with this issue? Is there any way to force the install ? Should I uninstall first Texstudio, and how? Can I just deleted all existing files (mainly /usr/bin/texstudio, usr/share/texstudio directory and /usr/share/applications/texstudio.desktop)? I tried by renaming them to .bck, but there is still a problem with the desktop file.
TY for any help. I managed to install properly by doing this. First makepkg,
On 06/13/2012 06:51 PM, Arno Gaboury wrote: then pacman -Uf pkg.tar.xz. Now pacman -Q returns correctly Texstudio in the list. The only remaining issue is that I must sudo texstudio to start the app !
participants (3)
-
Arno Gaboury
-
Marcin 'sirmacik' Karpezo
-
Markus Unterwaditzer