Bug 235309 - synaptic fails to load
synaptic fails to load
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: synaptic (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Axel Thimm
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-04 19:25 EDT by Stephanos Manos
Modified: 2007-11-30 17:12 EST (History)
2 users (show)

See Also:
Fixed In Version: 0.57.2-10.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-08 11:57:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stephanos Manos 2007-04-04 19:25:06 EDT
Description of problem:
when starting synaptic a popup window appears with "unknown error" 

Version-Release number of selected component (if applicable):
synaptic-0.57.2-5.2.fc7

How reproducible:
always (when selinux is enabled)

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
The problem is with the pam file (/etc/pam.d/synaptic).
changing it to 
auth            include         config-util
account         include         config-util
session         include         config-util

instead of
auth       sufficient   /lib/security/pam_rootok.so
auth       sufficient   /lib/security/pam_timestamp.so
auth       required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_permit.so
session    optional     /lib/security/pam_xauth.so
session    optional     /lib/security/pam_timestamp.so
account    required     /lib/security/pam_permit.so

solves the problem
Comment 1 Stephanos Manos 2007-04-18 02:56:44 EDT
ping
Comment 2 Axel Thimm 2007-04-22 08:15:36 EDT
Can you provide some more details? Why does the above fail under selinux and why
does outsourcing into another config file help?
Comment 3 Stephanos Manos 2007-04-22 18:06:05 EDT
(In reply to comment #2)
> Can you provide some more details? Why does the above fail under selinux and why
> does outsourcing into another config file help?
It's not a selinux issue just an observation.
If i open a terminal window and su and then issue synaptic then it works.
So that lead me to think that it's a pam issue.

synaptic and smart are not ne only ones that have this issue. qtparted has it
also BZ #237075

Comment 5 Jonathan Smith 2007-06-02 15:32:35 EDT
Since Test 3 of Fedora 7 up to and including the new release, apt-get fails. So,
of course, synaptic will fail also.

#yum install apt

Installing:
 apt                     i386       0.5.15lorg3.2-9.fc7  fedora            979 k
Installing for dependencies:
 fedora-package-config-apt  noarch     6.89-6           fedora            4.3 k

Installed: apt.i386 0:0.5.15lorg3.2-9.fc7
Dependency Installed: fedora-package-config-apt.noarch 0:6.89-6
Complete!

#apt-get update
Get:1 http://download.fedora.redhat.com fedora/linux/core/7/i386/os/ repomd.xml
[3666B]
0% [1 repomd.xml 0/3666B
0%]/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:6:
parser error : Opening and ending tag mismatch: title line 6 and html
<title>Fedora :: File Not Found :: fedoraproject.org</html>
                                                           ^
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:95:
parser error : Opening and ending tag mismatch: META line 5 and head
</head>
       ^
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:135:
parser error : Entity 'copy' not defined
<p>Copyright &copy; 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. and others. All r
                   ^
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:138:
parser error : Opening and ending tag mismatch: p line 135 and div
</div>
      ^
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:143:
parser error : Opening and ending tag mismatch: div line 101 and body
</body>
       ^
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:144:
parser error : Opening and ending tag mismatch: body line 96 and html
</html>
       ^
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:145:
parser error : Premature end of data in tag head line 4

^
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml:145:
parser error : Premature end of data in tag html line 3

^
E: could not open Release file
'/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_core_7_i386_os_repodata_repomd.xml'
W: Release files for some repositories could not be retrieved or authenticated.
Such repositories are being ignored.
W: Release file did not contain checksum information for
http://download.fedora.redhat.com/pub/fedora/linux/core/7/i386/os/repodata/primary.xml
W: Release file did not contain checksum information for
http://download.fedora.redhat.com/pub/fedora/linux/core/7/i386/os/repodata/filelists.xml
W: Release file did not contain checksum information for
http://download.fedora.redhat.com/pub/fedora/linux/extras/7/i386/repodata/primary.xml
W: Release file did not contain checksum information for
http://download.fedora.redhat.com/pub/fedora/linux/extras/7/i386/repodata/filelists.xml
W: Release file did not contain checksum information for
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/7/i386/repodata/primary.xml
W: Release file did not contain checksum information for
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/7/i386/repodata/filelists.xml
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object


Comment 6 Fedora Update System 2007-06-04 00:12:24 EDT
synaptic-0.57.2-6.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Axel Thimm 2007-06-04 05:50:36 EDT
Stephane, can you please test the package in updates-testing? Thanks!

Jonathan, I think what you see is a bug in fedora-package-config-apt, which also
has an update in updates-testing, can you check it out, too?
Comment 8 Stephanos Manos 2007-06-04 12:14:12 EDT
Fixed.

Thanks.
Comment 9 Fedora Update System 2007-06-04 20:10:27 EDT
synaptic-0.57.2-7.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
Comment 10 Jonathan Smith 2007-06-04 22:41:18 EDT
I did a rpm -i --nodeps of fedora-config-apt, then installed apt, which seems to
work again. Unable to install synaptic

rpm -ivh synaptic-0.57.2-6.fc7.i386.rpm

error: Failed dependencies:
        libapt-pkg-libc6.5-6.so.2 is needed by synaptic-0.57.2-6.fc7.i386
Comment 11 Axel Thimm 2007-06-05 03:44:49 EDT
Johnathan, you're using apt from updates-testing, correct? Then you also need to
use synaptics from updates-testing (the one from comment #6).
Comment 12 Jonathan Smith 2007-06-05 07:36:06 EDT
I did try installing synaptic from the same place that I got the working apt.
Comment 13 Axel Thimm 2007-06-06 18:04:33 EDT
> error: Failed dependencies:
>         libapt-pkg-libc6.5-6.so.2 is needed by synaptic-0.57.2-6.fc7.i386

Jonathan, there was a problem in building synaptic against apt in
updates-testing (it's due to the current updates policy, may change soon), but
now the synaptic package in updates-testing should be in sync with the apt
package there, as well.

Just for checking: It will be synaptic-0.57.2-10.fc7 once your mirror carries
it. Can you please verify that this works for you? Thanks!
Comment 14 Jonathan Smith 2007-06-07 08:14:03 EDT
Synaptic installed and wrks4melolz. First time in long time, m soooo  happy
Got best package manager back.
Comment 15 Fedora Update System 2007-06-08 11:57:02 EDT
synaptic-0.57.2-10.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.