Reply
Thread Tools
Posts: 39 | Thanked: 8 times | Joined on Feb 2012
#1
I can not install any application, the following message appears:
Can't install. Damaged Installation Package
I tried to do the following, without success:

Reboot
Install via Terminal in user and root mode.
Uninstall another application (no problem) and yes.. i have storage space.
This commands in Terminal and reboot:
mkdir -p /var/cache/apt/archives
touch /var/cache/apt/archives/lock
apt-get update
apt-get upgrade

I was trying to generate a .deb (apparently successful), then I wanted to install it with FileBox and that error appeared.

Anyone can help me, please. I know ..can fix it with flash, but i would avoid it. Thanks




No puedo instalar ninguna aplicación, aparece el siguiente mensaje:
Imposible instalar. Paquete de instalación dañado

Traté de hacer lo siguiente, sin éxito:

Reiniciar
Instalación mediante la terminal en modo de usuario y root.
*Desinstalar otra aplicación (no hay problema) y tengo espacio de almacenamiento.
Este comando en la terminal y reiniciar el sistema:
mkdir-p / var / cache / apt / archives
touch / var / cache / apt / archives / lock
apt-get update
apt-get upgrade

Yo estaba tratando de generar un .deb (aparentemente con éxito), entonces quería instalarlo con FileBox y apareció ese error.

Alguien me puede ayudar, por favor. Sé que puedo arreglarlo con flash, pero me gustaría evitarlo. Gracias.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#2
you also need to mkdir -p /var/cache/apt/archives/partial
 
Posts: 39 | Thanked: 8 times | Joined on Feb 2012
#3
Thanks thedead1440
I did:
devel-su
rootme
mkdir -p /var/cache/apt/archives
touch /var/cache/apt/archives/lock
mkdir -p /var/cache/apt/archives/partial
(reboot)
apt-get update
apt-get upgrade
(reboot)
But... no solved.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#4
also touch /var/lib/dpkg/lock
 
Posts: 39 | Thanked: 8 times | Joined on Feb 2012
#5
Thanks again, but still does not work.

devel-su
rootme
mkdir -p /var/cache/apt/lists/
mkdir -p /var/cache/apt/archives
mkdir -p /var/cache/apt/archives/partial
touch /var/cache/apt/archives/lock
touch /var/lib/dpkg/lock

(reboot)
apt-get update
apt-get upgrade
(reboot)

As it does not work, then delete the LOCK files and rebooted, did not work either.
 
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#6
1. maybe you haven't enabled unknown origin installs from the menu
2. and maybe you have permission issues as root cannot read user owned files
3. why trying to install from vfat partition? maybe copy to /root/ and double check that root can read the file (not only user owned).
4. maybe you have corrupted or edited your refhashlist/restok (then you need to reflash to recover).
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.

Last edited by rainisto; 2012-10-26 at 17:01.
 

The Following User Says Thank You to rainisto For This Useful Post:
Posts: 39 | Thanked: 8 times | Joined on Feb 2012
#7
rainisto Thanks, i reflash my device..this time i used Quicktweak backup, very good indee.
 
Posts: 39 | Thanked: 8 times | Joined on Feb 2012
#8
Again! same problem, help
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#9
Originally Posted by kainerious View Post
Again! same problem, help
What did you do this time?

And by same problem you mean exactly like in the first post?

Maybe you want to give new screenshots or paste outputs here of what problems you are having?
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 39 | Thanked: 8 times | Joined on Feb 2012
#10
Hello! Yes i did the same as last time. I was trying to create a .deb (in fact it created)..
After doing this:
" There is a work-around for the above:
- Download this tar file from my dropbox: http://db.tt/zSChAgJA

In terminal as root:

- cp -R /path/to/downloaded/tar /bin/

- chmod 775 /bin/tar

Now just repeat your packaging and you are done"

Now I have this problem (again):
Can't install. Damaged Installation Package

It is a matter of pride. I do not want flash! Thanks!!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:11.