logo       

RE: Broken Pipe with apt-get: msg#00286

Subject: RE: Broken Pipe with apt-get
My message was a little hasty, I ended up with removing asterisk-sounds-extra 
from 
/var/lib/dpkg/status and I got a step further, so never mind ..

But now, on running apt-get install amportal-common, I get the following error 
message:
---
Checking for /etc/amportal.conf..OK
Reading /etc/amportal.conf..OK
Connecting to database..creating asterisk DB
ERROR 1044 (42000) at line 1: Access denied for user 
'debian-sys-maint'@'localhost' to database 'ast
erisk'
creating asteriskcdr DB
ERROR 1044 (42000) at line 1: Access denied for user 
'debian-sys-maint'@'localhost' to database 'ast
eriskcdrdb'
ERROR 1050 (42S01) at line 1: Table 'cdr' already exists
The default user and password for the data base are 
[asteriskuser:e188eae75e9b4dabcdd83334df7f0180]
Could not connect to DB, nor create a new one
Try running /usr/share/amportal-common/amportal-upgrade.php --username=user 
--password=pass  (using
your own user and pass)
[FATAL] Cannot connect to database
dpkg: error processing amportal-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of amportal-cdr:
 amportal-cdr depends on amportal-common; however:
  Package amportal-common is not configured yet.
dpkg: error processing amportal-cdr (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amportal-panel:
 amportal-panel depends on amportal-common; however:
  Package amportal-common is not configured yet.
dpkg: error processing amportal-panel (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amportal-vmail:
 amportal-vmail depends on amportal-common; however:
  Package amportal-common is not configured yet.
dpkg: error processing amportal-vmail (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 amportal-common
 amportal-cdr
 amportal-panel
 amportal-vmail
E: Sub-process /usr/bin/dpkg returned an error code (1)
---

I already have asterisk realtime running. 
How can I tell the debian package to use my user?

Thanks for any support!


Greetings,
Marcus
 

> -----Original Message-----
> From: amportal-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx 
> [mailto:amportal-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx]
>  On Behalf 
> Of Marcus Deluigi (intern)
> Sent: Tuesday, November 29, 2005 9:51 AM
> To: amportal-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> Subject: [Amportal-users] Broken Pipe with apt-get
> 
> Hi!
> 
> I am running debian sarge and Asterisk 1.2 and I tried to 
> install amportal through the provided debian packages on
> 
> deb     http://rapid.dotsrc.org/ unstable/
> deb-src http://rapid.dotsrc.org/ unstable/
> 
> Unoftunately, the package asterisk-sounds-amportal conflicts 
> with with an asterisk package, so I get the following error message:
> 
> ---
> apt-get install asterisk-sounds-amportal
> 
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   asterisk-sounds-amportal
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> 16 not fully installed or removed.
> Need to get 0B/2622kB of archives.
> After unpacking 5050kB of additional disk space will be used.
> (Reading database ... 75051 files and directories currently 
> installed.) Unpacking asterisk-sounds-amportal (from
> .../asterisk-sounds-amportal_1.10.009-42_all.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/asterisk-sounds-amportal_1.10.009-42_all.deb
> (--unpac
> k):
>  trying to overwrite 
> `/usr/share/asterisk/sounds/ext-or-zero.gsm', which is also 
> in package asterisk -sounds-extra
> dpkg-deb: subprocess paste killed by signal (Broken pipe) 
> Errors were encountered while processing:
>  /var/cache/apt/archives/asterisk-sounds-amportal_1.10.009-42_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ---
> 
> Now, I can't install because I have unmet dependencies in the 
> amportal package. I can't remove the amportal package, 
> because it always complains about the unmet dependencies. 
> Removing the file 'ext-or-zero.gsm' or apt-get -f install did 
> not work, either.
> 
> Can anybody tell me, how to resolve this conflict?
> 
> Thanks,
> Marcus
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files for problems?  Stop!  Download the new AJAX 
> search engine that makes searching your log files as easy as 
> surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
> _______________________________________________
> Amportal-users mailing list
> Amportal-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/amportal-users
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe