I wasn't able to locate file for the libflickrnet2.1.5-cil package. This might me I wasn't able to locate file for the libflickrnet2.1.5-cil package.

Asked by David Bertelsen

I cant use synaptic or apt. Synaptic offers to try partial upload but when u click no it says it cant download any updates until issue is fixed in apt-get install-f dpkg.
Notification that "failed to fetch" firefox
I've seen several questions about this in forums, but haven't found an answer that works.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

sudo apt-get -f install; lsb_release -a

Thanks

Revision history for this message
David Bertelsen (davidbertelsen7) said :
#2

administrator@david-desktop:~$ sudo apt-get -f install;lsb_release-a
[sudo] password for administrator:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  exim4-config
The following packages will be REMOVED:
  libflickrnet2.1.5-cil
The following NEW packages will be installed:
  exim4-config
0 upgraded, 1 newly installed, 1 to remove and 59 not upgraded.
1 not fully installed or removed.
Need to get 0 B/321 kB of archives.
After this operation, 963 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ...
dpkg: warning: files list file for package `konqueror-plugin-gnash' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `swfdec-gnome' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-ext-fileio' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-doc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gtk-gnash' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-opengl' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libeel2-data' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-common-opengl' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-ext-mysql' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `kubuntu-restricted-addons' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-tools' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `kubuntu-restricted-extras' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-dbg' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `linux-headers-2.6.24-24' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `gnash-ext-lirc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `klash' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ubufox' missing, assuming package has no files currently installed.
(Reading database ... 226472 files and directories currently installed.)
Removing libflickrnet2.1.5-cil ...
E: File does not exist: /usr/share/cli-common/packages.d/policy.2.1.FlickrNet.installcligac
dpkg: error processing libflickrnet2.1.5-cil (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
libflickrnet2.1.5-cil
W: Duplicate sources.list entry http://switch.dl.sourceforge.net/project/ubuntuzilla/mozilla/apt/ all/main i386 Packages (/var/lib/apt/lists/switch.dl.sourceforge.net_project_ubuntuzilla_mozilla_apt_dists_all_main_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ natty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)
lsb_release-a: command not found
administrator@david-desktop:~$

________________________________
From: delance &lt;<email address hidden>&gt;
To: <email address hidden>
Sent: Friday, July 22, 2011 11:36 AM
Subject: Re: [Question #165689]: I wasn&#39;t able to locate file for the libflickrnet2.1.5-cil package. This might me I wasn&#39;t able to locate file for the libflickrnet2.1.5-cil package.

Your question #165689 on apt in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/apt/+question/165689

    Project: libflickrnet in Ubuntu =&gt; apt in Ubuntu

--
You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

I see three different problems on your system:

1. 'duplicate sources'
2. libflickrnet2.1.5-cil post-removal script returned error exit status 1
3. 'files list file for package .. missing

ad 1.
open a terminal (ctrl-alt-t) and issue the command
gksudo gedit /var/apt/soucres.list
This will ask for your password and then will open an editor window with your soucres.list loaded.
Go through that file and try to identify the lines that say something about
http://switch.dl.sourceforge.net/project/ubuntuzilla/mozilla/apt/ all main
You should find two completely identical lines, delete one of them.
The same with lines that say something about
http://archive.canonical.com/ubuntu/ natty partner
Again you should find two completely identical lines, delete one of them.
Save the file and close the editor.

ad 2.
libflickrnet2.1.5-cil is a package that existed on hardy, but that is no more available on newer releases, and the removal fails.
see http://www.cyberciti.biz/tips/troubleshooting-debian-ubuntu-package-upgrades-removals.html how to modify the postremove script /var/lib/dpkg/info/libflickrnet2.1.5-cil*postremove to allow successfull removal of the package (if the first line reads "#/bin/sh -e" you have to remove the '-e' there, or if there is a "set -e" somewhere below you have to remove the '-e' there).

ad 3.
Some information about these packages got lost, you should reinstall these packages by issuing the command
sudo apt-get install --reinstall konqueror-plugin-gnash swfdec-gnome gnash-ext-fileio gnash-doc python-gtk-gnash gnash-opengl libeel2-data gnash-common-opengl gnash-ext-mysql gnash-common kubuntu-restricted-addons gnash-tools kubuntu-restricted-extras gnash-dbg linux-headers-2.6.24-24 gnash-ext-lirc klash ubufox

Revision history for this message
David Bertelsen (davidbertelsen7) said :
#4

clicking on 'gksudo gedit /var/apt/source.list' takes me to a box, but my options are :
tmp
spool
run
opt
mail
log
lock
local
lib
games
crash
cache
backups

no 'apt' file that I can see

Revision history for this message
David Bertelsen (davidbertelsen7) said :
#5

can I still move on and fix the other problems, or am I stuck till this one is resolved?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

The command is:

gksudo gedit /etc/apt/soucres.list

Revision history for this message
David Bertelsen (davidbertelsen7) said :
#7

Ah...
Think I got the first one taken care of...
For :
ad 2.
libflickrnet2.1.5-cil is a package that existed on hardy, but that is no more available on newer releases, and the removal fails.
see http://www.cyberciti.biz/tips/troubleshooting-debian-ubuntu-package-upgrades-removals.html how to modify the postremove script /var/lib/dpkg/info/libflickrnet2.1.5-cil*postremove to allow successfull removal of the package (if the first line reads "#/bin/sh -e" you have to remove the '-e' there, or if there is a "set -e" somewhere below you have to remove the '-e' there).

Revision history for this message
David Bertelsen (davidbertelsen7) said :
#8

For part 2-I went to the trouble shoot web site. I opened 'libflickrnet2.1.5-cil, but it has o bytes content. I cant get it to open to show me a line that looks like '#/bin/sh-e'

I did the part 3 fix, but it had no effect. Im still getting the same error msgs; Im thinking everything hinges on the libflickrnet problem

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

...I opened libflickrnet2.1.5-cil...
The file name must be something like 'libflickrnet2.1.5-cil.postremove'

Issue the commands

cd /var/lib/dpkg/info
ls libflickrnet2.1.5-cil*

and you should see the right filename. Then execute the command

gksudo gedit /var/lib/dpkg/info/libflickrnet... (with the right filename)

(P.S: sorry for the typo error in my instruction for #1)

Can you help with this problem?

Provide an answer of your own, or ask David Bertelsen for more information if necessary.

To post a message you must log in.