Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 15 guests | Time: 11:26
upkg won't reinstall a removed package
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
5 posts found.
 upkg won't reinstall a removed package
Junior Mitglied
 
 
 
Posts: 32
Registered: 2008-10-22
Hello.

I installed the claws-mail package from source with upkg, following the instructions in the documentation (creating spec file etc.). As a dependency I had to install libetpan, creating a upkg-package as well. This worked for some weeks.

Now the last upkg-upgrade removed libetpan. I don't know why. Claws-mail doesn't work anymore and complains: "libetpan.so not found." Installing libetpan from source (upkg-install --enable-source) does not work, because upkg says "system already up-to-date" which is not true. upkg-reinstall libetpan does not work, it complains that it does not find the source tarball. But the tarball is there. Upkg-reinstall claws-mail returns "system up-to-date".

Of course I could remove claws mail and then install it, but in this case, which I had before, my mail filters are gone. What can I do?

Best, erch

Do I
Profile   Private Message   E-Mail
Created: 2009-03-28 14:53
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg won't reinstall a removed package
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
So your package is called libetpan
Try this:

Code[In neuem Fenster öffnen]
sudo upkg-remove --force libetpan
sudo upkg-build --verbose libetpan


Is libetpan a dependency of a spec or not?

If not create a select file so upkg-upgrade won't uninstall it:

Code[In neuem Fenster öffnen]
su
enter root pw
echo "Package: libetpan" > /var/lib/upkg/packages/libetpan.select


If nothing helps install libetpan as usual with configure,make,make install without upkg.
Profile   Private Message   E-Mail
Created: 2009-03-28 20:10
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg won't reinstall a removed package
Junior Mitglied
 
 
 
Posts: 32
Registered: 2008-10-22
Thanks for your reply.

Libetpan (libetpan.sourceforge.net) is needed as a depencency from claws-mail (www.claws-mail.org). Hmnm, so I just make-install it from source. But is there a way to understand what happens?

I have the package in my local repository, and _had_ it installed with no problem.

Here is the output of upkg:


bash-3.2# upkg-remove --force libetpan
ERROR: Package libetpan not found.
bash-3.2# upkg-build --verbose libetpan
Generating script...
Processing libetpan package...
Writing script...
Executing script...
System already up-to-date.

.2# upkg-install --enable-source libetpan
Generating script...
Writing script...
Executing script...
System already up-to-date.
bash-3.2#

Is it because claws-mail is installed (the same, from source) with libetpan as a dependency?

Here is claws-mail.xml (the spec)
<?xml version="1.0"?>
<package name="claws-mail">
<description></description>
<releases>
<release version="3.7.0" revision="1" branch="stable">
<deps>
<dep name="libetpan" />
</deps>
<build>
<script>
<archive name="claws-mail-3.7.0" compression="bz2">
<cmd>./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --sysconfdir=/etc</cmd>
<cmd>make -j 2</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package>

thx, erch
Profile   Private Message   E-Mail
Created: 2009-03-29 14:36
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg won't reinstall a removed package
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Here you go:

Example
[amnon@tvpc:~]$ ls /var/lib/upkg/packages/*xfce*
/var/lib/upkg/packages/gtk-xfce-engine
/var/lib/upkg/packages/gtk-xfce-engine.select
/var/lib/upkg/packages/gtk-xfce-engine-x86-glibc-2.8-gcc-4.3-1-2.6.0-1
/var/lib/upkg/packages/gtk-xfce-engine-x86-glibc-2.8-gcc-4.3-1-2.6.0-1.info
/var/lib/upkg/packages/libxfce4mcs
/var/lib/upkg/packages/libxfce4mcs-x86-glibc-2.8-gcc-4.3-1-4.4.3-1
/var/lib/upkg/packages/libxfce4mcs-x86-glibc-2.8-gcc-4.3-1-4.4.3-1.info
/var/lib/upkg/packages/libxfce4menu
/var/lib/upkg/packages/libxfce4menu-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/libxfce4menu-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/libxfce4util-1.0
/var/lib/upkg/packages/libxfce4util-1.0-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/libxfce4util-1.0-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/libxfcegui4-1.0
/var/lib/upkg/packages/libxfcegui4-1.0-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/libxfcegui4-1.0-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/xfce4-appfinder
/var/lib/upkg/packages/xfce4-appfinder-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/xfce4-appfinder-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/xfce4-battery-plugin
/var/lib/upkg/packages/xfce4-battery-plugin-x86-glibc-2.8-gcc-4.3-1-0.5.1-2
/var/lib/upkg/packages/xfce4-battery-plugin-x86-glibc-2.8-gcc-4.3-1-0.5.1-2.info
/var/lib/upkg/packages/xfce4-dev-tools
/var/lib/upkg/packages/xfce4-dev-tools-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/xfce4-dev-tools-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/xfce4-icon-theme-1.0
/var/lib/upkg/packages/xfce4-icon-theme-1.0.select
/var/lib/upkg/packages/xfce4-icon-theme-1.0-x86-glibc-2.8-gcc-4.3-1-4.4.3-1
/var/lib/upkg/packages/xfce4-icon-theme-1.0-x86-glibc-2.8-gcc-4.3-1-4.4.3-1.info
/var/lib/upkg/packages/xfce4-mixer
/var/lib/upkg/packages/xfce4-mixer-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/xfce4-mixer-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/xfce4-mount-plugin
/var/lib/upkg/packages/xfce4-mount-plugin-x86-glibc-2.8-gcc-4.3-1-0.5.5-1
/var/lib/upkg/packages/xfce4-mount-plugin-x86-glibc-2.8-gcc-4.3-1-0.5.5-1.info
/var/lib/upkg/packages/xfce4-panel
/var/lib/upkg/packages/xfce4-panel-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/xfce4-panel-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/xfce4-places-plugin
/var/lib/upkg/packages/xfce4-places-plugin-x86-glibc-2.8-gcc-4.3-1-1.1.0-1
/var/lib/upkg/packages/xfce4-places-plugin-x86-glibc-2.8-gcc-4.3-1-1.1.0-1.info
/var/lib/upkg/packages/xfce4-screenshooter-plugin
/var/lib/upkg/packages/xfce4-screenshooter-plugin-x86-glibc-2.8-gcc-4.3-1-1.3.2-1
/var/lib/upkg/packages/xfce4-screenshooter-plugin-x86-glibc-2.8-gcc-4.3-1-1.3.2-1.info
/var/lib/upkg/packages/xfce4-session
/var/lib/upkg/packages/xfce4-session-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/xfce4-session-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/xfce4-settings
/var/lib/upkg/packages/xfce4-settings-x86-glibc-2.8-gcc-4.3-1-4.6.0-1
/var/lib/upkg/packages/xfce4-settings-x86-glibc-2.8-gcc-4.3-1-4.6.0-1.info
/var/lib/upkg/packages/xfce4-xfapplet-plugin
/var/lib/upkg/packages/xfce4-xfapplet-plugin.select
/var/lib/upkg/packages/xfce4-xfapplet-plugin-x86-glibc-2.8-gcc-4.3-1-0.1.0-1
/var/lib/upkg/packages/xfce4-xfapplet-plugin-x86-glibc-2.8-gcc-4.3-1-0.1.0-1.info
/var/lib/upkg/packages/xfce4-xkb-plugin
/var/lib/upkg/packages/xfce4-xkb-plugin-x86-glibc-2.8-gcc-4.3-1-0.5.1-1
/var/lib/upkg/packages/xfce4-xkb-plugin-x86-glibc-2.8-gcc-4.3-1-0.5.1-1.info
/var/lib/upkg/packages/xfce-desktop.select
/var/lib/upkg/packages/xfce-mcs-manager
/var/lib/upkg/packages/xfce-mcs-manager-x86-glibc-2.8-gcc-4.3-1-4.4.3-1
/var/lib/upkg/packages/xfce-mcs-manager-x86-glibc-2.8-gcc-4.3-1-4.4.3-1.info
/var/lib/upkg/packages/xfce-mcs-plugins
/var/lib/upkg/packages/xfce-mcs-plugins-x86-glibc-2.8-gcc-4.3-1-4.4.2-1
/var/lib/upkg/packages/xfce-mcs-plugins-x86-glibc-2.8-gcc-4.3-1-4.4.2-1.info
/var/lib/upkg/packages/xfce-utils
/var/lib/upkg/packages/xfce-utils-x86-glibc-2.8-gcc-4.3-1-4.6.0-2
/var/lib/upkg/packages/xfce-utils-x86-glibc-2.8-gcc-4.3-1-4.6.0-2.info
[amnon@tvpc:~]$


Now do this:

Code[In neuem Fenster öffnen]
ls /var/lib/upkg/packages/*ibetpan*
sudo rm /var/lib/upkg/packages/*ibetpan*
sudo upkg-build --verbose libetpan
Profile   Private Message   E-Mail
Created: 2009-03-29 23:14
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg won't reinstall a removed package
Junior Mitglied
 
 
 
Posts: 32
Registered: 2008-10-22
Ah! thanks. I'll go into that.

erch
Profile   Private Message   E-Mail
Created: 2009-03-31 10:36
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a