Results 1 to 5 of 5

Thread: OpenSuse 10.3 zypper - Cannot write file

  1. #1
    bazzilio NNTP User

    Default OpenSuse 10.3 zypper - Cannot write file


    When i try install make tool in my Opensuse 10.3 i get this error :

    Code:
    --------------------
    # zypper in make
    Reading installed packages...

    The following NEW package is going to be installed:
    make


    No additional space will be used or freed after the operation.
    Continue? [YES/no]: yes
    Downloading package make-3.81-103.1.i586 (1/1), 0 B (0 B unpacked)
    Downloading: oss [error]
    Cannot write file '/var/adm/mount/AP_0x00000002'.

    Abort, retry, ignore? [A/r/i]: A
    Downloading: content [done (684 B/s)]
    Segmentation fault

    --------------------


    zypper refresh told that it's ok, but error is repeated.

    Code:
    --------------------
    # zypper refresh
    Repository 'official_10.3' is up to date.
    All repositories have been refreshed.

    --------------------


    and this is my /var/log/zypper.log


    Code:
    --------------------

    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119 Fetcher.cc(sta rt):217 RETHROW: MediaSetAccess.cc(provideFileInternal):319: Cannot write file '/var/adm/mount/AP_0x00000002'.
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119 RepoProvideFil e.cc(provideFile):304 CAUGHT: Fetcher.cc(start):217: Cannot write file '/var/a dm/mount/AP_0x00000002'.
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119
    2008-12-10 15:56:12 <2> flint(15119) [zypp] RepoProvideFile.cc(provideFile):308 Trying next url
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119 RepoProvideFil e.cc(provideFile):313 THROW: RepoProvideFile.cc(provideFile):313: Can't provi de file '' from repository 'official_10.3'
    2008-12-10 15:56:12 <1> flint(15119) [zypp] Fetcher.cc(~Impl):63
    2008-12-10 15:56:12 <3> flint(15119) [zypp] PackageProvider.cc(providePackage):1 07 Failed to provide Package (3405)make-3.81-103.1.i586(official_10.3)
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119 PackageProvide r.cc(providePackage):110 RETHROW: RepoProvideFile.cc(provideFile):313: Can't pr ovide file '' from repository 'official_10.3'
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaSetAccess.cc(release):586 Relea sing all media IDs held by this MediaSetAccess
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaManager.cc(release):656 release (id=1)
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaHandler.cc(release):706 Request to release media - not attached; eject ''
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaSetAccess.cc(release):586 Relea sing all media IDs held by this MediaSetAccess
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaManager.cc(release):656 release (id=1)
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaHandler.cc(release):706 Request to release media - not attached; eject ''
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119 zypper-misc.cc (solve_and_commit):2430 CAUGHT: PackageProvider.cc(providePackage):110: Can't provide file '' from repository 'official_10.3'
    2008-12-10 15:56:12 <1> flint(15119) [zypp] RepoManager.cc(checkIfToRefreshMetad ata):425 Going to try to check whether refresh is needed for http://download.ope nsuse.org/distribution/10.3/repo/oss/
    2008-12-10 15:56:12 <1> flint(15119) [zypp] PathInfo.cc(_Log_Result):295 chmod / var/cache/zypp/raw/official_10.3cfU4zJ 040755
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaSetAccess.cc(rewriteUrl):547 Re writing url http://download.opensuse.org/distrib...10.3/repo/oss/
    2008-12-10 15:56:12 <1> flint(15119) [zypp] MediaAccess.cc(open):109 Trying sche me 'http'
    2008-12-10 15:56:12 <1> flint(15119) [zypp] MediaCurl.cc(MediaCurl):203 MediaCur l::MediaCurl(http://download.opensuse.org/distrib...10.3/repo/oss/, )
    2008-12-10 15:56:12 <1> flint(15119) [zypp] MediaAccess.cc(open):141 Opened: htt p(http://download.opensuse.org/distrib...10.3/repo/oss/ not attached; localRo ot "")
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaManager.cc(open):426 Opened new media access using id 3 to http://download.opensuse.org/distribution/10.3/repo/ oss/
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaSetAccess.cc(provideFileInterna l):249 Going to try to provide file /content from media number 1
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaManager.cc(attachDesiredMedia): 583 attach(id=3)
    2008-12-10 15:56:12 <2> flint(15119) [zypp] CurlConfig.cc(parseConfig):48 Not al lowed to parse '/root/.curlrc': bad file owner
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaHandler.cc(createAttachPoint):3 93 Trying to create attach point in /var/adm/mount
    2008-12-10 15:56:12 <1> flint(15119) [zypp] PathInfo.cc(_Log_Result):295 mkdir / var/adm/mount/AP_0x00000002 00755
    2008-12-10 15:56:12 <1> flint(15119) [zypp] MediaHandler.cc(createAttachPoint):3 70 Created default attach point /var/adm/mount/AP_0x00000002
    2008-12-10 15:56:12 <0> flint(15119) [zypp] Sysconfig.cc(read):31 Load '/etc/sys config/proxy'
    2008-12-10 15:56:12 <1> flint(15119) [zypp] Sysconfig.cc(read):71 done reading ' /etc/sysconfig/proxy'
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaCurl.cc(attachTo):575 Proxy: -n one-
    2008-12-10 15:56:12 <1> flint(15119) [zypp] MediaHandler.cc(attach):653 Attached : http://download.opensuse.org/distrib...10.3/repo/oss/ attached; localRoot " /var/adm/mount/AP_0x00000002"
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaManager.cc(checkDesired):113 ch eckDesired(3): desired (report by zypp::media::NoVerifier)
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaManager.cc(checkDesired):116 ch eckDesired(3): desired (cached)
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1134 /co ntent
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1151 URL : http://download.opensuse.org/distrib...po/oss/content
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1212 des t: /var/adm/mount/AP_0x00000002/content
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1213 tem p: /var/adm/mount/AP_0x00000002/content.new.zypp.ueZmuk
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1403 HTT P response: 226
    2008-12-10 15:56:14 <1> flint(15119) [zypp] PathInfo.cc(_Log_Result):295 rename /var/adm/mount/AP_0x00000002/content.new.zypp.ueZmuk -> /var/adm/mount/AP_0x0000 0002/content
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1432 don e: /var/adm/mount/AP_0x00000002/content{- 0644 0/0 size 44325}
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaHandler.cc(provideFile):1011 pr ovideFile(/content)
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaSetAccess.cc(provideFileInterna l):249 Going to try to provide file /media.1/media from media number 1
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaManager.cc(checkDesired):116 ch eckDesired(3): desired (cached)
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1134 /me dia.1/media
    2008-12-10 15:56:14 <1> flint(15119) [zypp] PathInfo.cc(assert_dir):354 mkdir /v ar/adm/mount/AP_0x00000002/media.1 00755
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1151 URL : http://download.opensuse.org/distrib.../media.1/media
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1212 des t: /var/adm/mount/AP_0x00000002/media.1/media
    2008-12-10 15:56:14 <0> flint(15119) [zypp] MediaCurl.cc(doGetFileCopy):1213 tem p: /var/adm/mount/AP_0x00000002/media.1/media.new.zypp.zJ2lA2

    --------------------


    --
    bazzilio
    ------------------------------------------------------------------------
    bazzilio's Profile: http://forums.opensuse.org/member.php?userid=16834
    View this thread: http://forums.opensuse.org/showthread.php?t=401438


  2. #2
    bazzilio NNTP User

    Default Re: OpenSuse 10.3 zypper - Cannot write file


    and this is continue of zypper.log


    Code:
    --------------------


    2008-12-10 15:56:10 <5> flint(15119) [zypp] Exception.cc(log):119 MediaCurl.cc(d oGetFileCopy):1422 THROW: MediaCurl.cc(doGetFileCopy):1422: Cannot write file '/var/adm/mount/AP_0x00000002'.
    2008-12-10 15:56:10 <5> flint(15119) [zypp] Exception.cc(log):119
    2008-12-10 15:56:10 <5> flint(15119) [zypp] Exception.cc(log):119 MediaCurl.cc(g etFileCopy):800 RETHROW: MediaCurl.cc(doGetFileCopy):1422: Cannot write file '/ var/adm/mount/AP_0x00000002'.
    2008-12-10 15:56:10 <5> flint(15119) [zypp] Exception.cc(log):119
    2008-12-10 15:56:10 <5> flint(15119) [zypp] Exception.cc(log):119 MediaSetAccess .cc(provideFileInternal):259 CAUGHT: MediaCurl.cc(getFileCopy):800: Cannot wri te file '/var/adm/mount/AP_0x00000002'.
    2008-12-10 15:56:10 <5> flint(15119) [zypp] Exception.cc(log):119
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaHandler.cc(getDetectedDevices): 1394 No devices for this medium
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaSetAccess.cc(provideFileInterna l):269 Media couldn't provide file , releasing.
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaManager.cc(release):656 release (id=1)
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaHandler.cc(release):713 Request to release attached media http<http://download.opensuse.org/distribution/10.3/r epo/oss/>, use count=1
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaHandler.cc(release):720 Releasi ng media http<http://download.opensuse.org/distribution/10.3/repo/oss/>
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaHandler.cc(disconnect):692 Disc onnected: http://download.opensuse.org/distrib...10.3/repo/oss/ attached; loc alRoot "/var/adm/mount/AP_0x00000002"
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaHandler.cc(removeAttachPoint):1 78 MediaHandler - checking if to remove attach point
    2008-12-10 15:56:10 <1> flint(15119) [zypp] PathInfo.cc(_Log_Result):295 recursi ve_rmdir /var/adm/mount/AP_0x00000002
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaHandler.cc(removeAttachPoint):1 90 Deleted default attach point /var/adm/mount/AP_0x00000002
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaHandler.cc(release):774 Release d: http://download.opensuse.org/distrib...10.3/repo/oss/ not attached; localR oot ""
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaManager.cc(releaseAll):695 Rele asing all attached media
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaManager.cc(releaseAll):713 Medi a id 1 not attached
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaManager.cc(releaseAll):723 Exit
    2008-12-10 15:56:10 <1> flint(15119) [zypper] zypper-utils.cc(is_changeable_medi a):102 committing...Checking if this is a changeable medium
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaAccess.cc(open):109 Trying sche me 'http'
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaCurl.cc(MediaCurl):203 MediaCur l::MediaCurl(http://download.opensuse.org/distrib...10.3/repo/oss/, )
    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaAccess.cc(open):141 Opened: htt p(http://download.opensuse.org/distrib...10.3/repo/oss/ not attached; localRo ot "")
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaManager.cc(open):426 Opened new media access using id 2 to http://download.opensuse.org/distribution/10.3/repo/ oss/
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaManager.cc(close):458 Close to access handler using id 2 requested
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaHandler.cc(release):706 Request to release media - not attached; eject ''

    2008-12-10 15:56:10 <1> flint(15119) [zypp] MediaAccess.cc(close):208 Close: htt p(http://download.opensuse.org/distrib...10.3/repo/oss/ not attached; localRo ot "") (OK)
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaHandler.cc(release):706 Request to release media - not attached; eject ''
    2008-12-10 15:56:10 <0> flint(15119) [zypp] MediaHandler.cc(removeAttachPoint):1 78 MediaHandler - checking if to remove attach point
    2008-12-10 15:56:12 <0> flint(15119) [zypper] zypper-prompt.cc(get_prompt_reply) :219 reply: A (a lowercase)
    2008-12-10 15:56:12 <0> flint(15119) [zypper] zypper-prompt.cc(get_prompt_reply) :223 index: 0 option: a
    2008-12-10 15:56:12 <1> flint(15119) [zypper] zypper-prompt.cc(get_prompt_reply) :264 reply: A (0)

    2008-12-10 15:56:12 <1> flint(15119) [zypp] MediaSetAccess.cc(provideFileInterna l):314 ProvideFile exception caught, callback answer: 0
    2008-12-10 15:56:12 <0> flint(15119) [zypp] MediaSetAccess.cc(provideFileInterna l):318 Aborting
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119 MediaSetAccess .cc(provideFileInternal):319 RETHROW: MediaCurl.cc(getFileCopy):800: Cannot wri te file '/var/adm/mount/AP_0x00000002'.
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119
    2008-12-10 15:56:12 <5> flint(15119) [zypp] Exception.cc(log):119 Fetcher.cc(sta rt):215 CAUGHT: MediaSetAccess.cc(provideFileInternal):319: Cannot write file '/var/adm/mount/AP_0x00000002'.

    --------------------


    --
    bazzilio
    ------------------------------------------------------------------------
    bazzilio's Profile: http://forums.opensuse.org/member.php?userid=16834
    View this thread: http://forums.opensuse.org/showthread.php?t=401438


  3. #3
    Magic31 NNTP User

    Default Re: OpenSuse 10.3 zypper - Cannot write file


    Hi & Welcome!

    The segmentation fault could indicate a problem with the zypper
    database.
    It's been known to happen with 10.3.

    Try this in a terminal console:

    Code:
    --------------------

    su - #if you need to switch to root
    cd /var/cache/zypp
    rm zypp.db
    zypper refresh

    rpm --rebuilddb

    --------------------

    The last rpm command rebuilds it's own database & is probably not
    needed.

    After this the install will possibly work!

    Here is an older thread referring to this : 'yast crashes cleaning
    repositories - openSUSE Forums' (http://tinyurl.com/6hv2gf)

    Hope that helps,
    Wj

    ps. This does not work with 11.0 and later as zypper uses another db
    (sat-solver).


    --
    Have allot of fun! *WJM*
    ------------------------------------------------------------------------
    Magic31's Profile: http://forums.opensuse.org/member.php?userid=289
    View this thread: http://forums.opensuse.org/showthread.php?t=401438


  4. #4
    bazzilio NNTP User

    Default Re: OpenSuse 10.3 zypper - Cannot write file


    Code:
    --------------------
    flint:/var/cache/zypp # ls /var/cache/zypp
    packages raw solv
    flint:/var/cache/zypp # ls /var/cache/zypp/zypp.db
    ls: cannot access /var/cache/zypp/zypp.db: No such file or directory
    --------------------

    there is no zypp.db
    locate zypp.db
    also can't find it


    --
    bazzilio
    ------------------------------------------------------------------------
    bazzilio's Profile: http://forums.opensuse.org/member.php?userid=16834
    View this thread: http://forums.opensuse.org/showthread.php?t=401438


  5. #5
    Magic31 NNTP User

    Default Re: OpenSuse 10.3 zypper - Cannot write file


    Uhhh? Are you sure this is openSUSE 10.3?


    --
    Have allot of fun! *WJM*
    ------------------------------------------------------------------------
    Magic31's Profile: http://forums.opensuse.org/member.php?userid=289
    View this thread: http://forums.opensuse.org/showthread.php?t=401438


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •