Go to the repository dialogue to correct the problem.

Asked by ghostaman

Hi Guys,

Having some major issues with synaptic package manager and update manager as I cant open up either one without getting error messages.

When I open up synaptic I get the following:

E: Type 'list' is not known on line 1 in source list /etc/apt/sources.list.d/ddebs.list
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.

and when I open up update manager I get this:

Could not initialize the package information

An unresolvable problem occurred while initialising the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type 'list' is not known on line 1 in source list /etc/apt/sources.list.d/ddebs.list'

This all occurred when I went into settings->repositories and unticked some boxes relating to transmission( the latest version)
as I have been struggling downgrading from 2.04 back to 1.93.

Now I cant update or go into synaptic

cheers for any help

ghost

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
François Tissandier (baloo) said :
#1

What is this ddeb repositories ?
I think you can simply delete this file (but you have to be an admin to do it, so simply use a terminal and type "sudo rm /etc/apt/sources.list.d/ddebs.list"

Try to open Synaptic and see if it's working better

Then maybe you will need to add the repository again.

Revision history for this message
ghostaman (ghost4man) said :
#2

Francois,

Thankyou thankyou thankyou. You dont know how much time I spent trying to resolve the problem.

Alright I went into terminal and type as per your instruction. I went back into updates and got another error
message. Instead of giving up I simply used what you gave me as a template and then it worked:) It was that
easy.

This problem all started at the fact that I wanted to downgrade transmission 2.04 BACK to 1.93. I did all
manner of things but I cant seem to remove it as the default in synaptic manager. Right now it is no longer
running as I was successful in that regard but I cant seem to install the version that I want. If I go to launchpad for the ppa
I cant get version 1.93 to appear in synaptic to install from. The only version in synaptic that appears is version 2.04.
Do you have any ideas in this regard.

cheers ghost and thanks again

Revision history for this message
François Tissandier (baloo) said :
#3

To install version 1.93, different solutions I think:

-if you can find a repository providing it, add it to Synaptic (maybe you already did it). Then in Synaptic, find Transmission, right click, Properties, Versions. You should see both versions there if they are available.
-then you can click on the "Package" menu in synaptic, there is an option to force a version. I can't test that as I dont' have a package with 2 versions, but that should work

-other solution, remove Transmission, download the 1.93 package from a previous version of Ubuntu, and try to install it. That could work. But then, I think you have to go in Synaptic to lock the version, or it will try to update it automatically.

Revision history for this message
ghostaman (ghost4man) said :
#4

Francois,

I went into terminal and typed the following command:

sudo add-apt-repository ppa:transmissionbt/ppa

When I go back into synaptic the only package that appears is 2.04.

When I go to force version the only 2 versions that appear is 2.04 and the latest 2.10.

I am sourcing it from:

https://edge.launchpad.net/~transmissionbt/+archive/ppa

I cant understand what I am doing wrong in this regard.

I mark the existing version for complete removal and they still remain. Have to doing something wrong
but I do feel I am close to resolving this.

Any further help greatly appreciated.

cheers

Revision history for this message
François Tissandier (baloo) said :
#5

Ok, just checked, the PPA doesn't provide the 1.93 version for Maverick :) It has this version, but for older versions of Ubuntu...

So what you can do is change the version of Ubuntu used to connect on this PPA. Edit the repository settings, and change "maverick" by "Intrepid". Refresh, try to see if the 1.93 version is availble now.

Just curious, why do you need such an old version ? Maybe your problem can be solved without installing this old version?

Revision history for this message
Charles Kerr (charlesk) said :
#6

> Just curious, why do you need such an old version ? Maybe your problem can be solved without installing this old version?

I was wondering the same thing. Is it a tracker that hasn't whitelisted 2.0x yet?

Revision history for this message
ghostaman (ghost4man) said :
#7

Hi Charles and Francois,

Okay the answer to your question is very simple.

The vast amount of downloading that I do is from Pretome which I consider to be
very good site. Transmission is one of the clients that is allowed. However it only allows
for version 1.93 and down. This means that any version above this, that is 2.04 and now 2.10
is NOT allowed. Consequently I am greatly limited in what I can do in terms of downloading.
Those are the rules I guess. They do update the list but this can take time and if you do ask the
admins when this will happen then you get a WARNING which I think is somewhat rough but again
those are the rules. Thats my predicament at the moment

Francois I am learning alot about Ubuntu but I have to confess that I am still a noob so you could you
be a bit more specific please in terms of editing the repository settings. On the surface this may seem simple
enough to someone that knows what they are doing but I guess I just need the instructions to be a little bit
more clearer. I am getting there though.

I am glad that what I was doing was technically right but you guys have clearly identified that the PPA does
not provide for older versions. I wonder why this is the case when alot of people like to try out updated versions
to see what it is like and if need be would like the option of downgrading which in this case is proving to be hard for
me at least.

cheers for all your help guys. Muchly appreciated

ozzie

Revision history for this message
François Tissandier (baloo) said :
#8

No problem, don't hesitate to ask if you don't know what I'm talking about.

To edit the repositories, run Synaptic, then in the menus, "Settings", "Repositories"

Tab "Other software"
You should have the PPA, edit it.
Check for the "distribution" field. It's probably maverick. You can replace it with "intrepid". It will then use the packages for Intrepid.
Worth a try. But it could install some dependencies messing with other softwares, I don't guarantee it's safe. You will know it asap you will try to force the version I think, it should tell you if some other packages need to be changed.

Revision history for this message
ghostaman (ghost4man) said :
#9

Hi Francois

Okay I followed the instructions and played around with not only Intrepid but other previous releases.

The result was that it could not download all the repository indexes.

Okay I went back to see if I could install the latest version as a trial to see if everything was working and
as you suggested there may be an issue with some dependencies.

I went back and edited the PPA back to Maverick. Upon trying to install I get the following message

Could not mark all packages for installation or upgrade
The following packages have unresolved dependancies. Make sure that all required dependencies
are added and enabled in the preferences.
transmission:
Depends: transmission-gtk but it is not going to be installed
Depends: transmission-common(=2.04-0ubuntu2)but 2.10 0ubuntu1~ppa2 is to be installed.

Okay scratch the above I persisted and went back in and simply edited and okayed but it definately
does not want to download all the indexes. Am happy that I pulled myself out of this little mess so thats
good. I even as far back as Hardy. Definately a pain in the butt for those wanting previous releases.

Cheers for any further advice.

Revision history for this message
ghostaman (ghost4man) said :
#10

Francois,

I have been able to locate an archive for transmission:

http://download.m0k.org/transmission/files/

Given the lack of success going through synaptic, is it actually possible to download and then
install in the same way as you would with windows. Are there actually exe files there to work with?

cheers ozzie

Revision history for this message
François Tissandier (baloo) said :
#11

That would be very complicated to install it from there.
Just to explain you a bit:

-to install a software on Ubuntu, you need .deb files. It's more or less the equivalent of the .exe installer on Windows
-you can also find some installers for other distributions (let's consider them as different systems and not really compatible, each distribution made its own choice on how to organize everythong), like .rpm for instance. You can sometimes "convert" them to use on Ubuntu, but that's only when no other choice.
-finally, you can often find the source code. But then you have to compile the software to make it runnable... It's often complicated. Those files are often available for developers more than users.

This last option is what you found.
I think there should be an easier way:

https://launchpad.net/~andreas-noteng/+archive/ppa/+build/1716097

You can try:
-remove transmission from your computer
-download transmission and its dependencies from this website

The main difficulty here is that in Linux, most softwares share elements with each other. This way, the system is 2.5GB and not 10GB, most common functions are not duplicated in plenty of libraries. But then if you want an older version of the software, this software may require older version of librairies, and if there are too many of them, you are in trouble, it's a cascade.

Apparently you need:

transmission
transmission-cli
transmission-common
transmission-gtk

Remove them from your current Ubuntu using Synaptic. Then download all the deb, and install them by double clicking on them, starting from the last one (otherwise I think that if you try the first one, it will look for dependencies in the repository, and it will fail).

If you succeed, I think you will have to lock the version in Synaptic.

Revision history for this message
ken Johnson (arseenowe) said :
#12

ghostaman:

I have two problems similar to the one Francois struggled with.

First, I run ubuntu 10.04 but I think the machine has upgraded itself to 10.10. I cannot get into my repositories in the Synaptic package Manager. Secondly, Update Manager comes up and then disappears three seconds! later. The only way I can make changes to my repositories is as follows:
                                                             gedit /etc/apt/sources.list (however, I do not see any PPAs in this list)

Thirdly, how do you install an ISO file? iBeing a newbie, I still have not download and install files from the Internet or a CD ROM---Would you please help me in this?!?!

TNX, ken

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#13

Manually added ppa can be listed into /etc/apt/sources.list or the can be single files into the /etc/apt/sources.list.d/ directory

Revision history for this message
ken Johnson (arseenowe) said :
#14

marcobra,

I still cannot open my repositories in Synaptic Package Manager and Update Manager still disappears from view 3 seconds after appearing on screen.

What do I do to rectify these two problems?

ken

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#15

Please open a terminal and type, to see error messages:

gksudo synaptic

and/or

gksudo update-manager

Revision history for this message
ken Johnson (arseenowe) said :
#16

marcobra, no joy The following prints out:

arseenowe@arseenowe:~$ sudo -i
[sudo] password for arseenowe:
root@arseenowe:~# gksudo synaptic
WARNING: can not get name for '<gtk.CellRendererText object at 0x986a3c4 (GtkCellRendererText at 0x94e80b0)>'
WARNING: can not get name for '<gtk.TextBuffer object at 0x986a644 (GtkTextBuffer at 0x94e3148)>'
/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:126: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.init_keys()
/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:578: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  markup=COLUMN_DESC)
/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:129: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.init_isv_sources()
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 112, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 134, in __init__
    self.show_distro()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 332, in show_distro
    self.block_handlers()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 324, in block_handlers
    widget.handler_block(handler)
TypeError: object at 0x988e2fc of type gtk.CellRendererToggle is not initialized

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed

(software-properties-gtk:6825): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed
root@arseenowe:~# gksudo update-manager
/usr/bin/update-manager:104: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  app = UpdateManager(data_dir, options)
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:1073: Warning: g_object_notify: assertion `G_IS_OBJECT (object)' failed
  gtk.main_iteration()
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:1073: GtkWarning: IA__gtk_tree_view_column_get_expand: assertion `GTK_IS_TREE_VIEW_COLUMN (tree_column)' failed
  gtk.main_iteration()
/usr/lib/python2.6/dist-packages/UpdateManager/GtkProgress.py:68: Warning: g_object_notify: assertion `G_IS_OBJECT (object)' failed
  gtk.main_iteration()
/usr/lib/python2.6/dist-packages/UpdateManager/GtkProgress.py:68: GtkWarning: IA__gtk_tree_view_column_get_expand: assertion `GTK_IS_TREE_VIEW_COLUMN (tree_column)' failed
  gtk.main_iteration()
/usr/lib/python2.6/dist-packages/UpdateManager/GtkProgress.py:68: Warning: g_object_notify: object class `PangoLayout' has no property named `width'
  gtk.main_iteration()
/usr/lib/python2.6/dist-packages/UpdateManager/GtkProgress.py:68: GtkWarning: IA__gtk_widget_size_allocate: assertion `GTK_IS_WIDGET (widget)' failed
  gtk.main_iteration()
root@arseenowe:~# dpkg -i ubuntu-10.10-desktop-i386.iso

What does all this telemetry mean?

ken

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#17

Please tell what are you trying to do what is the latest WRONG command i see:

dpkg -i ubuntu-10.10-desktop-i386.iso

Please open a terminal type:

lsb_release -a

copy and paste the result here...

Then try simply to update your system:

sudo apt-get update
sudo apt-get upgrade

Please send ONLY ERROR here...

Revision history for this message
ken Johnson (arseenowe) said :
#18

arseenowe@arseenowe:~$ sudo -i

root@arseenowe:~# lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 10.10

Release: 10.10

Codename: maverick

Synaptic Package Manager and Update Manager are still acting their old same way The problem did not occur
until the operating system updated itself to Maverick 10.10. This same problem has caused me to erase and -install
the operating system on five or six occasions last year and this year both.

So, is there a bug in the system, or faulty application of doctrine on my part?

Please keep me posted

Thanks

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#19

your isse is similar to https://answers.launchpad.net/ubuntu/+source/update-manager/+question/110770
but there is some little differences so please open the

sudo gedit /etc/apt/sources.list.d/ddebs.list

copy the first 3 rows and paste here...

Revision history for this message
ken Johnson (arseenowe) said :
#20

Regret, but there is nothing but an empty page.

Revision history for this message
ken Johnson (arseenowe) said :
#21

Regret, but there is nothing but an empty page.

Revision history for this message
ken Johnson (arseenowe) said :
#22

sudo gedit /etc/apt/sources.list.d/ddebs.list has nothing in it. what is it supposed to have?

Still unable

Revision history for this message
ken Johnson (arseenowe) said :
#23

Still unable to access synaptic packages without using "gedit /etc/apt/sources.list"
what now?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#24

You say "Still unable to access synaptic packages without using "gedit /etc/apt/sources.list" ..."

What does it mean...

Revision history for this message
ken Johnson (arseenowe) said :
#25

marcobra,
Update Manager flashes and then disappears.
Synaptic Package manager/Settings/Repositories does not open
gedit /etc/apt/sources.list.d/ddeb.list does not do anything but an empty blank page.
gedit /etc/apt/sources.list is the only way I can access repositories, but the two main programs, Synaptic Package Manager and Update Manager STILL DO NOT Work.

I do not mean to be blunt with you but I do not know how to be plainer than this.

ken

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#26

To be sure there is not errors on your partititons please try to force a fscheck on your system...

Please open a Terminal ctrl + alt + t and type:

sudo touch /forcefsck

give your user password when requested, you don't see nothing when you type it, then press enter.

then reboot and leave the system doing the check...

Revision history for this message
ken Johnson (arseenowe) said :
#27

ran sudo touch /forcefsck ...what are you looking for?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#28

I want be sure of partitions integrity... by force a checking...

Revision history for this message
ken Johnson (arseenowe) said :
#29

forcefsck checked the hard drive but found nothing to report.
What now?

Can you help with this problem?

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

To post a message you must log in.