s32967326
deepin
2019-03-18 05:06 Reply Like 0 View the author
https://bbs.deepin.org/post/175666
也许是用户 uid=1000 不在组 sudo 中。你得想办法加入 sudo 组,
https://bbs.deepin.org/post/175666
也许是用户 uid=1000 不在组 sudo 中。你得想办法加入 sudo 组,
https://bbs.deepin.org/post/175666
楼主,我跟你一样的情况必须sudo deepin-appstore -c 启动才能下载,请问后来如何解决的 ...
"dtkwidget2" can not find qm files
PMResult AptPackageManager::Install(const QList<Package> &packages)
{
Q_D(AptPackageManager);
QMap<QString, QVariant> result;
for (auto &package : packages) {
qDebug() << package.packageURI << package.dpk.getID() << package.localName;
const QDBusPendingReply<QDBusObjectPath> reply =
d->deb_interface_->Install(package.localName, package.dpk.getID());
while (!reply.isFinished()) {
qApp->processEvents();
}
if (reply.isError()) {
qDebug() << reply.error();
return PMResult::dbusError(reply.error());
}
result.insert(package.packageURI, reply.value().path());
}
qDebug() << result;
return PMResult::warp(result);
}, 由于github上面这个项目的商店地址竟然写的是, 于是我找到了商店的真实地址,但是无法打开, 我猜想上面的异常是不是网络的问题呀?
#include "base/consts.h"
namespace dstore {
const char kAppName[] = "deepin-appstore";
#ifndef NDEBUG
const char kIndexPage[] = "http://localhost:4000/";
#else
const char kIndexPage[] = "rcc://web/index.html";
#endif // NDEBUG
QString GetCacheDir() {
const char kAppCacheDir[] = ".cache/deepin/deepin-appstore";
return QDir::home().absoluteFilePath(kAppCacheDir);
}
} // namespace dstore