Re: System upgrade problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Oct 23, 2008 at 11:38 AM, Louis Brazeau <lbrazeau@xxxxxxxxx> wrote:
> On Thu, Oct 23, 2008 at 11:13 AM, Aaron Griffin <aaronmgriffin@xxxxxxxxx> wrote:
>> Can you run with --debug and show us the output?
>>
>
> Aaron Griffin is trying to help me with my problem! I feel blessed :)
>
> The output of --debug is quite long so I thought I'd better put it on
> pastebin. Here's the link :
>
>   http://pastebin.com/m3c97b0aa

Hmm, here is the relevant code from lib/libalpm/sync.c. You can see
this error gets thrown if filename is null, which means
alpm_pkg_get_filename() returned null on that particular package. Do
you have any custom repos enabled that could potentially have invalid
filename fields?

/** Compute the size of the files that will be downloaded to install a
 * package.
 * @param newpkg the new package to upgrade to
 */
static int compute_download_size(pmpkg_t *newpkg)
{
  const char *fname;
  char *fpath;
  off_t size = 0;

  fname = alpm_pkg_get_filename(newpkg);
  ASSERT(fname != NULL, RET_ERR(PM_ERR_PKG_INVALID_NAME, -1));


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux